mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
sync delete msg
This commit is contained in:
parent
b8d6440d6a
commit
3554a89c41
@ -89,7 +89,7 @@ func (m *msgServer) conversationClearSync(ctx context.Context, opt *msg.DeleteSy
|
||||
if opt == nil {
|
||||
return
|
||||
}
|
||||
if opt.IsSyncSelf {
|
||||
if opt.IsSyncSelf && !opt.IsSyncOther {
|
||||
tips := &sdkws.ClearConversationTips{UserID: userID, ConversationIDs: conversationIDs}
|
||||
m.notificationSender.Notification(ctx, userID, userID, constant.ClearConversationNotification, tips)
|
||||
}
|
||||
@ -104,7 +104,7 @@ func (m *msgServer) DeleteMsgsNotification(ctx context.Context, conversationID,
|
||||
if opt == nil {
|
||||
return
|
||||
}
|
||||
if opt.IsSyncSelf {
|
||||
if opt.IsSyncSelf && !opt.IsSyncOther {
|
||||
tips := &sdkws.DeleteMsgsTips{UserID: userID, ConversationID: conversationID, Seqs: seqs}
|
||||
m.notificationSender.Notification(ctx, userID, userID, constant.DeleteMsgsNotification, tips)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user