display sender name in reaction list

This commit is contained in:
marlon-erler
2026-09-27 02:08:49 +02:00
parent 315a6ab8f0
commit bc399c4c7c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -241,6 +241,7 @@ export default class ChatModel {
const reaction = ChatModel.createMessageReaction(
messageId,
senderId,
senderName,
content,
isDeleting,
);
@@ -439,6 +440,7 @@ export default class ChatModel {
static createMessageReaction = (
messageId: string,
senderId: string,
senderName: string,
content: ReactionSymbols,
isDeleting: boolean,
): ChatMessageReaction => {
@@ -450,6 +452,7 @@ export default class ChatModel {
messageId,
senderId,
senderName,
content,
isDeleting,
};
@@ -510,6 +513,7 @@ export interface ChatMessageReaction
extends ValidObject, FileContent<"reaction"> {
readonly messageId: string;
readonly senderId: string;
readonly senderName: string;
readonly content: ReactionSymbols | string;
isDeleting: boolean;
}
@@ -559,6 +563,7 @@ export const ChatMessageReactionReference: ChatMessageReaction = {
messageId: "",
senderId: "",
senderName: "",
content: "",
isDeleting: false,