-
Notifications
You must be signed in to change notification settings - Fork 333
[WPB-23995] app visibility accross teams #5171
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
base: develop
Are you sure you want to change the base?
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix: apps cannot form connections accross teams. Integration test for cross-team conversations working with apps as expected. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,8 +50,8 @@ import Wire.FederationAPIAccess | |
| import Wire.FederationConfigStore | ||
| import Wire.GalleyAPIAccess | ||
| import Wire.NotificationSubsystem | ||
| import Wire.UserStore | ||
| import Wire.UserStore qualified as UserStore | ||
| import Wire.UserStore as UserStore | ||
| import Wire.UserSubsystem | ||
|
|
||
| data LocalConnectionAction | ||
| = LocalConnect | ||
|
|
@@ -302,6 +302,7 @@ createConnectionToRemoteUser :: | |
| ( Member GalleyAPIAccess r, | ||
| Member FederationConfigStore r, | ||
| Member UserStore r, | ||
| Member UserSubsystem r, | ||
| Member NotificationSubsystem r, | ||
| HasBrigFederationAccess m r | ||
| ) => | ||
|
|
@@ -312,6 +313,7 @@ createConnectionToRemoteUser :: | |
| createConnectionToRemoteUser self zcon other = do | ||
| ensureNotSameAndActivated self (tUntagged other) | ||
| ensureFederatesWith other | ||
| ensureNoApps self [tUntagged self, tUntagged other] | ||
| mconnection <- lift . wrapClient $ Data.lookupConnection self (tUntagged other) | ||
|
Comment on lines
313
to
317
|
||
| fst <$> performLocalAction self (Just zcon) other mconnection LocalConnect | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.