mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-26 13:08:02 +00:00
terminal: update active group when message is updated (#891)
* terminal: update active group when message is updated * fix
This commit is contained in:
committed by
GitHub
parent
57e7034b4d
commit
91baf9f362
@@ -1731,6 +1731,8 @@ processAgentMessage (Just user@User {userId, profile}) agentConnId agentMessage
|
||||
then do
|
||||
updCi <- withStore $ \db -> updateGroupChatItem db user groupId itemId (CIRcvMsgContent mc) msgId
|
||||
toView . CRChatItemUpdated $ AChatItem SCTGroup SMDRcv (GroupChat gInfo) updCi
|
||||
let g = groupName' gInfo
|
||||
setActive $ ActiveG g
|
||||
else messageError "x.msg.update: group member attempted to update a message of another member"
|
||||
(SMDSnd, _) -> messageError "x.msg.update: group member attempted invalid message update"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user