Skip to content

Commit

Permalink
change check
Browse files Browse the repository at this point in the history
  • Loading branch information
targoninc-alex committed Jun 1, 2024
1 parent 50c9262 commit bf77658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/api/Hooks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function addMessage(channel, message) {
store().setSignalValue('messages', {...ex, [channel]: [...ex[channel], message]});

const user = Store.get('user');
if (message.userId === user.value.id) {
if (message.sender.id === user.value.id) {
return;
}

Expand Down

0 comments on commit bf77658

Please sign in to comment.