mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-18 08:26:15 +00:00
wip
This commit is contained in:
@@ -3167,7 +3167,8 @@ processAgentMessageConn vr user@User {userId} corrId agentConnId agentMessage =
|
||||
VMUnsigned _ -> Nothing <$ messageWarning "x.grp.roster: unsigned roster"
|
||||
memberApplyRoster :: CM ()
|
||||
memberApplyRoster
|
||||
| maybe False (newVer <=) (rosterVersion gInfo) = pure ()
|
||||
| maybe False (newVer <) (rosterVersion gInfo) = messageWarning "x.grp.roster: older than accepted version"
|
||||
| maybe False (newVer ==) (rosterVersion gInfo) = pure ()
|
||||
| otherwise = do
|
||||
applyRosterRecords
|
||||
withStore' $ \db -> setGroupRosterVersion db gInfo newVer
|
||||
|
||||
Reference in New Issue
Block a user