prose-im / prose-pod-system

Prose Pod system configurations and build rules. Used to package everything together.
https://prose.org
Mozilla Public License 2.0
0 stars 0 forks source link

Support XEP-0430: Inbox #9

Open nesium opened 7 months ago

nesium commented 7 months ago

In order to have unread indicators that are synchronized between multiple devices we should support XEP-0430.

This also affects https://github.com/prose-im/prose-core-client/issues/44 where the use of Chat Markers should be modified and not removed to indicate to the server that messages have been read as outlined in XEP-0430.

Edit: I couldn't find an existing module for Prosody but ejabberd seems to support it.

nesium commented 6 months ago

I believe that the Inbox XEP wouldn't work with MUC unless something like MucSub is involved.

And even then, the idea that for each message every participant sends a read receipt and these need to be loaded from MAM again when paging through a conversation 😵‍💫

Although maybe the server just processes the receipt but doesn't save it to MAM, that would make sense.

nesium commented 6 months ago

We'd also need a method to mark a whole conversation as read without sending read markers for all (potentially very old) unread messages. The XEP mentions something like…

Unmarking a conversation always sets the unread counter to zero, and by implication sets all messages to be read.

But doesn't seem to show any example.