mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
[mastodon-client] Return status.edited_at
This commit is contained in:
parent
b0487e1e63
commit
9454540385
@ -128,6 +128,7 @@ export class NoteConverter {
|
||||
reactions: [], //FIXME: this.mapReactions(n.emojis, n.reactions, n.myReaction),
|
||||
bookmarked: isBookmarked,
|
||||
quote: Promise.resolve(renote).then(renote => renote && note.text !== null ? this.encode(renote, user, cache) : null),
|
||||
edited_at: note.updatedAt?.toISOString()
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -41,6 +41,7 @@ namespace MastodonEntity {
|
||||
reactions: Array<Reaction>;
|
||||
quote: Status | null;
|
||||
bookmarked: boolean;
|
||||
edited_at: string | null;
|
||||
};
|
||||
|
||||
export type StatusCreationRequest = {
|
||||
|
Loading…
Reference in New Issue
Block a user