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

This commit is contained in:
damencho
2025-09-30 22:41:08 -05:00
committed by Дамян Минков
parent a93ca9d7c4
commit 9bb1c36508

View File

@@ -744,6 +744,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,