fix(chat): Fixes sending message after system message.

This commit is contained in:
damencho
2025-09-30 22:41:08 -05:00
parent 0a50dc6ccd
commit 6bf41c4e49

View File

@@ -678,6 +678,11 @@ function _shouldSendPrivateMessageTo(state: IReduxState, action: AnyAction) {
}
if (lastMessage.privateMessage) {
if (!lastMessage.participantId) {
// this is a system message we can ignore
return undefined;
}
// We show the notice if the last received message was private.
return {
id: lastMessage.participantId,