diff --git a/lib/shared/messages/reaction-message-spec.js b/lib/shared/messages/reaction-message-spec.js --- a/lib/shared/messages/reaction-message-spec.js +++ b/lib/shared/messages/reaction-message-spec.js @@ -19,7 +19,9 @@ RawReactionMessageInfo, ReactionMessageInfo, > = Object.freeze({ - messageContentForClientDB(data: RawReactionMessageInfo): string { + messageContentForServerDB( + data: ReactionMessageData | RawReactionMessageInfo, + ): string { return JSON.stringify({ targetMessageID: data.targetMessageID, reaction: data.reaction, @@ -27,6 +29,10 @@ }); }, + messageContentForClientDB(data: RawReactionMessageInfo): string { + return this.messageContentForServerDB(data); + }, + messageTitle({ messageInfo, threadInfo,