Skip to content

Commit

Permalink
Use user id in md5
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchdev committed Nov 17, 2024
1 parent 02f4a10 commit 2cf3270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/chat/js/messages/ChatMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class ChatMessage extends ChatUIMessage {
this.censorType = null;
this.watching = null;
this.md5 = md5(
`${this.timestamp.valueOf()}${this.user ?? ''}${this.message}`,
`${this.timestamp.valueOf()}${this.user?.id ?? ''}${this.message}`,
);
}

Expand Down

0 comments on commit 2cf3270

Please sign in to comment.