Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support XEP-0430: Inbox #9

Open
nesium opened this issue Feb 6, 2024 · 2 comments
Open

Support XEP-0430: Inbox #9

nesium opened this issue Feb 6, 2024 · 2 comments

Comments

@nesium
Copy link

nesium commented Feb 6, 2024

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

This also affects prose-im/prose-core-client#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
Copy link
Author

nesium commented Feb 23, 2024

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
Copy link
Author

nesium commented Feb 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant