You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Safer connectUser() by logging out the user first if needed (#2577)
* Safer connectUser() by logging out the user first if needed
* Clear active channels on log out
* Update connect guest user in E2E Test to use a different ID when connecting a guest user
* Add comment back
* Add test coverage
* Update CHANGELOG.md
* Add test coverage to clearing out active controllers when logging out
* Update CHANGELOG.md
* Improve authentication flow to log out when needed
* Add EnvironmentState tests
* Add tests for prepareEnvironment assertion on id mismatch
* Update AuthenticationRepository tests
* Fix log in flow test error
---------
Co-authored-by: Pol Quintana <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
15
15
- Fix crash when accessing FetchCache with an unexecuted NSFetchRequest [#2572](https://github.com/GetStream/stream-chat-swift/pull/2572)
16
16
- Fix an issue which was blocking a Guest Authentication operation to retrieve a connection token [#2574](https://github.com/GetStream/stream-chat-swift/pull/2574)
17
17
- Make connect/disconnect safer when network is offline [#2571](https://github.com/GetStream/stream-chat-swift/pull/2571)
18
+
- Make connect safer by logging out the user first if needed [#2577](https://github.com/GetStream/stream-chat-swift/pull/2577)
0 commit comments