From b6abce24fb4b037245135fdcb9b2fc7516f75355 Mon Sep 17 00:00:00 2001
From: benjamin <ben@elixxir.io>
Date: Wed, 5 Oct 2022 10:42:51 -0700
Subject: [PATCH] fixed the handing of rounds on updatesentstatus

---
 indexedDb/implementation.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indexedDb/implementation.go b/indexedDb/implementation.go
index b97037cd..478acfae 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)
 	}
 
-- 
GitLab