fix: Mutual state update messages are always seen (#3778)

This commit is contained in:
Mikhail Rogachev 2023-07-25 12:35:05 +04:00 committed by GitHub
parent 6085a05f77
commit c757f6c6b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func (m *Messenger) prepareMutualStateUpdateMessage(contactID string, updateType
From: from, From: from,
WhisperTimestamp: timestamp, WhisperTimestamp: timestamp,
LocalChatID: contactID, LocalChatID: contactID,
Seen: outgoing, Seen: true,
ID: types.EncodeHex(crypto.Keccak256([]byte(fmt.Sprintf("%s%s%d%d", from, to, updateType, clock)))), ID: types.EncodeHex(crypto.Keccak256([]byte(fmt.Sprintf("%s%s%d%d", from, to, updateType, clock)))),
} }