Skip to content

Commit

Permalink
revoke msg sync
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Feb 24, 2022
1 parent 433e7b4 commit 2f25564
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/conversation_msg/conversation_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 2f25564

Please sign in to comment.