-
Notifications
You must be signed in to change notification settings - Fork 437
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
🌏 Federated Conversations Overview #5723
Comments
I guess we use this for it:
We introduced "pins" for users recently for SIP calling. It's a string field 32 chars long. Maybe we can use that? Ah would prevent them from having a phone pin later on. So I guess we need a new field.
Since messages are pulled on a per room basis this should also be done on the source instance
We could just reload the page when opening such a conversation as an easy workaround. The big issue is not the remote server, we could loop over the conversations of the user. But the STUN/TURN/HPB as well which are needed for remote calls.
That would conflict with the federated cloud ids of users. But do we need it for now? |
I guess we just use OCM for that too. The big question is if we want to have to accept users. Could also say room is either public or not. If it is people can add themselves, if not they can't. |
Trying to figure out how to identify remote rooms in the database (the federated cloud IDs for users would also be useful for identifying each user in the room). Maybe we could use |
Well so the only place where the remote info would be needed is the rooms table and there we could just add a column |
Sounds fine. There's other places like how to make the room URL for remote rooms but that does not have to be easily readable so. |
|
Actually that might not even work, as the token also needs to be in the URL and be unique there. |
Does modifying the |
What do you mean? |
So when someone on a remote server tries to read their messages, the user's server will send a request to the server hosting the chat to the same API as used by clients normally but with the shared secret. Then the server hosting the chat can use that to authenticate and send back messages in the same format it sends it to clients. spreed/lib/Controller/ChatController.php Line 383 in b5fa5cf
I will go ahead and implement it. Can also discuss further in the PR. |
No we are not proxing the messages. The clients will directly contact the remote server and ask for the messages. Also there is currently an open PR about federation which should be the next bit we work on: |
More steps in #7464 |
Common flow
Accept
Decline
|
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Mostly done, so closing this overview |
Does that mean this issue could be closed #21 or it's a different issue? |
It's one step towards it |
See 🌏 Testing federation while there is no frontend yet for testing steps
Progress on implementing federated Nextcloud Talk rooms.
This implementation will have each room on a single server so each participating server will only communicate with the server hosting the room (This does mean that the room will be inaccessible regardless of the server the user is on if the server hosting the room is not available).
Required
sendRemoteUnShare
when removing participant fix(federation): Send disinvite on remote user removal and remove invite #11464Integration tests
Bugs
@nickvergessen
The text was updated successfully, but these errors were encountered: