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

Update conversation membership #1540

Merged
merged 5 commits into from
May 31, 2021

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented May 27, 2021

This implements the federation RPC update-conversation-membership in galley. It simply registers local users as belonging to the given remote conversation and sends out an event. Actually calling this RPC from the other domain will be implemented separately in another PR.

Note that at this point the event type does not properly reflect the fact that the conversation and the joined users may belong to different domains. This will be fixed once #1547 is merged.

@pcapriotti pcapriotti force-pushed the pcapriotti/update-conversation-memberships branch 2 times, most recently from ec9092e to e7eac8a Compare May 31, 2021 11:47
@pcapriotti pcapriotti force-pushed the pcapriotti/update-conversation-memberships branch 2 times, most recently from 2376001 to 574f339 Compare May 31, 2021 15:56
The event generated by adding users to a remote conversation should be
sent to all local users in the conversation, regardless of whether any
local users were added, and it should contain all users added, not just
the local ones.
@pcapriotti pcapriotti merged commit f637703 into develop May 31, 2021
@pcapriotti pcapriotti deleted the pcapriotti/update-conversation-memberships branch May 31, 2021 17:38
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

Successfully merging this pull request may close these issues.

2 participants