diff --git a/indexedDb/implementation.go b/indexedDb/implementation.go index b97037cd05e8e0d57890559109c79775d5f2e2ea..478acfae63c8f5c00f0471eb458a58ce07c998fc 100644 --- a/indexedDb/implementation.go +++ b/indexedDb/implementation.go @@ -290,7 +290,7 @@ func (w *wasmModel) UpdateSentStatus(uuid uint64, messageID cryptoChannel.Messag newMessage.MessageID = messageID.Bytes() } - if round.ID == 0 { + if round.ID != 0 { newMessage.Round = uint64(round.ID) }