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

Notify remote backends when users join #1556

Merged
merged 10 commits into from
Jun 9, 2021

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented May 31, 2021

This makes a backend notify remote backends when users join a conversation.

Note: this includes commits from #1570. Rebase them away before merging.

@pcapriotti pcapriotti force-pushed the pcapriotti/remote-update-conv-membership branch from b36c70d to 577ade7 Compare May 31, 2021 17:43
@pcapriotti pcapriotti changed the title [WIP] Notify remote backends when users join Notify remote backends when users join Jun 1, 2021
@pcapriotti pcapriotti marked this pull request as ready for review June 1, 2021 13:15
@pcapriotti pcapriotti force-pushed the pcapriotti/remote-update-conv-membership branch 2 times, most recently from 1f69b23 to a24c00d Compare June 3, 2021 06:11
@pcapriotti pcapriotti marked this pull request as draft June 3, 2021 15:16
@pcapriotti pcapriotti changed the title Notify remote backends when users join Notify remote backends when users join [skip ci] Jun 3, 2021
@pcapriotti pcapriotti force-pushed the pcapriotti/remote-update-conv-membership branch from a24c00d to 2dcb90a Compare June 3, 2021 15:17
@pcapriotti pcapriotti changed the title Notify remote backends when users join [skip ci] Notify remote backends when users join Jun 4, 2021
@pcapriotti pcapriotti force-pushed the pcapriotti/remote-update-conv-membership branch from f2a8c33 to a7cdbb7 Compare June 7, 2021 04:46
@pcapriotti pcapriotti force-pushed the pcapriotti/remote-update-conv-membership branch from a7cdbb7 to bdf3660 Compare June 7, 2021 04:54
@pcapriotti pcapriotti changed the base branch from develop to pcapriotti/federator-galley June 7, 2021 04:54
@pcapriotti pcapriotti marked this pull request as ready for review June 7, 2021 04:55
@pcapriotti pcapriotti force-pushed the pcapriotti/remote-update-conv-membership branch from bdf3660 to 7708b88 Compare June 7, 2021 09:10
$ others
. nubOrd
. map (unTagged . rmId)
$ rmm <> rothers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I am getting this right, this traversing rightfully notifies remote users. Is there an equivalent for local users?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't directly notify users, but it calls the update-conversation-memberships federation RPC, which will in turn notify users on its backend.

Notifications for local users are sent in the two statements that follow.

@pcapriotti pcapriotti force-pushed the pcapriotti/remote-update-conv-membership branch from 7708b88 to 8642c1e Compare June 7, 2021 09:48
Base automatically changed from pcapriotti/federator-galley to develop June 7, 2021 13:15
@pcapriotti pcapriotti merged commit 2192d10 into develop Jun 9, 2021
@pcapriotti pcapriotti deleted the pcapriotti/remote-update-conv-membership branch June 9, 2021 09:12
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