diff --git a/indexedDb/implementation.go b/indexedDb/implementation.go index 3e42108e2de0dc9d8ba5c8dfff7e6b1143d2bb8e..632bd1317f09a9ebfb17163ae8f690f9c9986350 100644 --- a/indexedDb/implementation.go +++ b/indexedDb/implementation.go @@ -191,6 +191,7 @@ func (w *wasmModel) ReceiveReaction(channelID *id.ID, messageID cryptoChannel.Me // UpdateSentStatus is called whenever the SentStatus of a message // has changed +// TODO: Potential race condition due to separate get/update operations func (w *wasmModel) UpdateSentStatus(messageID cryptoChannel.MessageID, status channels.SentStatus) { parentErr := errors.New("failed to UpdateSentStatus")