Skip to content
Snippets Groups Projects
Commit 6f7d868b authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add a FIXME to note that we could use a refactor

parent b95a96ac
No related branches found
No related tags found
2 merge requests!93Also update conversation if we detect that the dmToken has changed.,!67fix for latest client release
...@@ -218,6 +218,8 @@ func (w *wasmModel) receiveWrapper(messageID message.ID, parentID *message.ID, n ...@@ -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) { timestamp time.Time, round rounds.Round, mType dm.MessageType, status dm.Status) (uint64, error) {
// Keep track of whether Conversation was altered // Keep track of whether Conversation was altered
// FIXME: this is very similar to updateConversation
//. below. Can we merge them?
conversationUpdated := false conversationUpdated := false
result, err := w.getConversation(partnerKey) result, err := w.getConversation(partnerKey)
if err != nil { if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment