deltachat / deltachat-ios

Email-based instant messaging for iOS.
GNU General Public License v3.0
310 stars 49 forks source link

sendUpdate() without summary pops up in chat #1467

Closed r10s closed 2 years ago

r10s commented 2 years ago

updates without summaries should not be visible in the chat, however, they're shown on the sending device until the chat is re-entered.

cyBerta commented 2 years ago

@r10s We receive both DC_EVENT_MSGS_CHANGED and DC_EVENT_MSG_DELIVERED. I'm not sure if that is really what we want, if we don't track the sent state for webxdc updates in the UI. I can filter those updates out, but I think we should consider to adapt the core actually.

cyBerta commented 2 years ago

updates without summaries should not be visible in the chat

@r10s do we want any outgoing webxdc info messages?

r10s commented 2 years ago

@r10s do we want any outgoing webxdc info messages?

yes. the chat one sender and receiver side should have the same information. the core adds the info messages as needed - however, not every sendUpdate() results in an info-message.