fix deletion of reactions by using username as reaction id

This commit is contained in:
marlon-erler
2026-04-07 19:13:29 +00:00
parent 4bd7126a76
commit 528650c66b
6 changed files with 82 additions and 53 deletions
+3
View File
@@ -4,6 +4,7 @@ import { ChatMessageInfoModal } from "../Modals/chatMessageInfoModal";
import { ChatMessageStatus } from "../../Model/Chat/chatModel";
import ChatMessageViewModel from "../../ViewModel/Chat/chatMessageViewModel";
import { translations } from "../translations";
import { MessageReactionButtonRow } from "./messageReactionButtonRow";
export function ChatMessage(chatMessageViewModel: ChatMessageViewModel) {
const statusIcon = React.createProxyState(
@@ -43,6 +44,8 @@ export function ChatMessage(chatMessageViewModel: ChatMessageViewModel) {
></span>
{chatMessageViewModel.dateSent}
</span>
{MessageReactionButtonRow(chatMessageViewModel)}
</div>
<div class="button-container">