core, ui: total match in moderation path, merge member profile, reload list for another group on iOS

This commit is contained in:
Narasimha-sc
2026-09-26 17:36:58 +00:00
parent de0b293da7
commit 9de8a82cfd
5 changed files with 10 additions and 6 deletions
+4 -2
View File
@@ -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