Skip to content

Commit 4dc5920

Browse files
committed
conversation update
1 parent 4e12535 commit 4dc5920

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/conversation_msg/conversation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ func (c *Conversation) revokeOneMessage(callback open_im_sdk_callback.Base, req
261261
req.Content = message.ClientMsgID
262262
req.ClientMsgID = utils.GetMsgID(message.SendID)
263263
req.ContentType = constant.Revoke
264+
req.SendTime = 0
265+
req.CreateTime = utils.GetCurrentTimestampByMill()
264266
options := make(map[string]bool, 5)
265267
utils.SetSwitchFromOptions(options, constant.IsUnreadCount, false)
266268
utils.SetSwitchFromOptions(options, constant.IsOfflinePush, false)

0 commit comments

Comments
 (0)