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

Get pending federation invitations from header (instead invitations endpoint) #3811

Open
mahibi opened this issue Apr 8, 2024 · 0 comments
Labels
1. to develop Accepted and waiting to be taken care of (should be only set by nextcloud employees) enhancement New feature or request feature: 🌐 federation Support for federated conversations

Comments

@mahibi
Copy link
Collaborator

mahibi commented Apr 8, 2024

blocked by ##217

Pending invitations for federation can now be received from server in the "get rooms" header. The talk app still uses the invitations endpoint to get these infos.

Using these infos from get rooms header will work for one account, but with multiple accounts this approach won't be able to show a badge whenever there are pending invitations for other accounts.

Right now i request pending invitations for all accounts when the conversation list is shown. If there are pending invitations for other accounts, a badge (red dot) is shown on the account avatar.

So for the iOS app it may make sense to request rooms for all accounts (to store everything in database) and then have the pending invitations infos as well.
For the android app, requesting rooms for all accounts at once is not done yet as there is no offline support.
So for the android app it's maybe better to wait with this until we finally implement offline support.

@mahibi mahibi added enhancement New feature or request 1. to develop Accepted and waiting to be taken care of (should be only set by nextcloud employees) feature: 🌐 federation Support for federated conversations labels Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of (should be only set by nextcloud employees) enhancement New feature or request feature: 🌐 federation Support for federated conversations
Projects
None yet
Development

No branches or pull requests

1 participant