mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-28 06:59:42 +00:00
core, ui: total match in moderation path, merge member profile, reload list for another group on iOS
This commit is contained in:
@@ -2248,8 +2248,10 @@ processAgentMessageConn cxt user@User {userId} entity gks_ corrId agentConnId ag
|
||||
| otherwise = do
|
||||
file_ <- processFileInv gInfo' (Just m')
|
||||
(ci, cInfo) <- createNonLive gInfo' (Just m') scopeInfo file_
|
||||
let moderatedScopeInfo = case cInfo of GroupChat _ itemScopeInfo -> itemScopeInfo
|
||||
deletions <- markGroupCIsDeleted user gInfo' moderatedScopeInfo [CChatItem SMDRcv ci] (Just moderator) moderatedAt
|
||||
let (moderatedGInfo, moderatedScopeInfo) = case cInfo of
|
||||
GroupChat itemGInfo itemScopeInfo -> (itemGInfo, itemScopeInfo)
|
||||
_ -> (gInfo', scopeInfo)
|
||||
deletions <- markGroupCIsDeleted user moderatedGInfo moderatedScopeInfo [CChatItem SMDRcv ci] (Just moderator) moderatedAt
|
||||
toView $ CEvtChatItemsDeleted user deletions False False
|
||||
-- m' is Maybe GroupMember
|
||||
createNonLive gInfo' m' scopeInfo file_ = do
|
||||
|
||||
Reference in New Issue
Block a user