-
Notifications
You must be signed in to change notification settings - Fork 334
WPB-16876 allow team admin to add users to a channel they are not in #4574
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
WPB-16876 allow team admin to add users to a channel they are not in #4574
Conversation
b5f7407 to
493ee10
Compare
ff95607 to
446d703
Compare
9f02a25 to
ba9d7f0
Compare
ba9d7f0 to
b6a9003
Compare
b6a9003 to
046ea1a
Compare
| <> map (,MLSNotificationWelcomeTag) (toList newClients) | ||
|
|
||
| withWebSockets (map fst clients) $ \wss -> do | ||
| r <- k () |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I'm wondering if it's okay to call the continuation before some other computations. 🤔 (I really don't know.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has to be like that, because the continuation in this case is the sending of the commit bundle. This has to be done before notifications can be consumed (the other computations). But thanks for the comment, this lead to a small clean up. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me. 👍
However, this should probably also be read by someone who has a deeper understanding of the domain.
pcapriotti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
https://wearezeta.atlassian.net/browse/WPB-16876
Checklist
changelog.d