mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[mastodon-client] Return status.edited_at
This commit is contained in:
parent
b0487e1e63
commit
9454540385
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue