core: fix current user becoming incorrect after hiding or (un)muting inactive user profile (#2098)

* core: fix current user becoming incorrect after hiding or (un)muting inactive user profile

* refactor test
This commit is contained in:
Evgeny Poberezkin
2023-03-29 17:39:04 +01:00
committed by GitHub
parent 7b33e1fba8
commit a8c8137ade
4 changed files with 34 additions and 28 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ data ChatResponse
| CRFileTransferStatus User (FileTransfer, [Integer]) -- TODO refactor this type to FileTransferStatus
| CRUserProfile {user :: User, profile :: Profile}
| CRUserProfileNoChange {user :: User}
| CRUserPrivacy {user :: User}
| CRUserPrivacy {user :: User, updatedUser :: User}
| CRVersionInfo {versionInfo :: CoreVersionInfo, chatMigrations :: [UpMigration], agentMigrations :: [UpMigration]}
| CRInvitation {user :: User, connReqInvitation :: ConnReqInvitation}
| CRSentConfirmation {user :: User}