From 6f7d868b0e5c5abca51337d95df11cef91458d30 Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Mon, 3 Apr 2023 16:43:03 +0000 Subject: [PATCH] Add a FIXME to note that we could use a refactor --- indexedDb/impl/dm/implementation.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indexedDb/impl/dm/implementation.go b/indexedDb/impl/dm/implementation.go index d43df179..cbb47440 100644 --- a/indexedDb/impl/dm/implementation.go +++ b/indexedDb/impl/dm/implementation.go @@ -218,6 +218,8 @@ func (w *wasmModel) receiveWrapper(messageID message.ID, parentID *message.ID, n timestamp time.Time, round rounds.Round, mType dm.MessageType, status dm.Status) (uint64, error) { // Keep track of whether Conversation was altered + // FIXME: this is very similar to updateConversation + //. below. Can we merge them? conversationUpdated := false result, err := w.getConversation(partnerKey) if err != nil { -- GitLab