-
Notifications
You must be signed in to change notification settings - Fork 30
TF-2313 Open Twake Chat app after invitation when app was login with other account #2335
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: main
Are you sure you want to change the base?
Conversation
This PR has been deployed to https://linagora.github.io/twake-on-matrix/2335 |
…r and one client exist
…r and multiple clients exist
0016297
to
6e08ed0
Compare
Reproduce
|
} | ||
|
||
Future<void> _logoutActionsOnMobile({required MatrixState matrix}) async { | ||
await tryLogoutSso(matrix: matrix); |
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 was removed on the latest change. Please remove it too.
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.
Updated
String? redirectUrl, | ||
}) { | ||
if (redirectUrl != null) { | ||
final redirectUrlEncode = base64Url.encode(utf8.encode(redirectUrl)); |
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 also was removed.
String? _getLogoutUrl(BuildContext context) { |
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.
Updated
It also happens in case when we add another account on the app:
[Matrix] 2025-05-19 12:31:25.593966: The user has been logged out!
[Matrix] 2025-05-19 12:31:25.320858: M_UNKNOWN_TOKEN: Invalid access token passed. |
Hi @rezk2ll , please check the video ScreenRecording_05-19-2025.15-29-45_1.MP4 |
Ticket
#2313
Resolved
demo-auto-app-not-logged.webm
App is logged in with same Home Server and exist one client
Cancel
switch to account:same-homeser-and-other-account-cancel.webm
Accept
switch to account:accept-same-homeserver-other-account.webm
demo-multiple.webm
different-homeserver.webm
app-terminate-different-homeserver.webm