From 2f255641559a2cffbdb7108b283edf8d5853c420 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Thu, 24 Feb 2022 15:20:43 +0800 Subject: [PATCH] revoke msg sync --- internal/conversation_msg/conversation_msg.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/conversation_msg/conversation_msg.go b/internal/conversation_msg/conversation_msg.go index 06e8a6fcb..bb74b2c9c 100644 --- a/internal/conversation_msg/conversation_msg.go +++ b/internal/conversation_msg/conversation_msg.go @@ -175,6 +175,9 @@ func (c *Conversation) doMsgNew(c2v common.Cmd2Value) { if isHistory { insertMsg = append(insertMsg, c.msgStructToLocalChatLog(msg)) } + if msg.ContentType == constant.Revoke { + msgRevokeList = append(msgRevokeList, msg) + } if msg.ContentType == constant.HasReadReceipt { msgReadList = append(msgReadList, msg) }