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 @@ -18,13 +18,19 @@ RawReactionMessageInfo, ReactionMessageInfo, > = Object.freeze({ - messageContentForClientDB(data: RawReactionMessageInfo): string { + messageContentForServerDB( + data: ReactionMessageData | RawReactionMessageInfo, + ): string { return JSON.stringify({ targetMessageID: data.targetMessageID, reaction: data.reaction, }); }, + messageContentForClientDB(data: RawReactionMessageInfo): string { + return this.messageContentForServerDB(data); + }, + messageTitle({ messageInfo, threadInfo,