Skip to content

Commit fc528de

Browse files
committed
revoke msg sync
1 parent 2ab9db4 commit fc528de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: internal/conversation_msg/conversation_msg.go

+3
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ func (c *Conversation) doMsgNew(c2v common.Cmd2Value) {
175175
if isHistory {
176176
insertMsg = append(insertMsg, c.msgStructToLocalChatLog(msg))
177177
}
178+
if msg.ContentType == constant.Revoke {
179+
msgRevokeList = append(msgRevokeList, msg)
180+
}
178181
if msg.ContentType == constant.HasReadReceipt {
179182
msgReadList = append(msgReadList, msg)
180183
}

0 commit comments

Comments
 (0)