mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
update entity connection status to report it correctly (#257)
This commit is contained in:
committed by
GitHub
parent
38424af48e
commit
dafdf66ada
+1
-1
@@ -505,7 +505,7 @@ processAgentMessage user@User {userId, profile} agentConnId agentMessage =
|
||||
Just connStatus -> do
|
||||
let conn = (entityConnection acEntity) {connStatus}
|
||||
withStore $ \st -> updateConnectionStatus st conn connStatus
|
||||
pure acEntity {entityConnection = conn}
|
||||
pure $ updateEntityConnStatus acEntity connStatus
|
||||
Nothing -> pure acEntity
|
||||
|
||||
isMember :: MemberId -> GroupInfo -> [GroupMember] -> Bool
|
||||
|
||||
Reference in New Issue
Block a user