diff --git a/internal/rpc/msg/delete.go b/internal/rpc/msg/delete.go index 572dc1160..e9adfe7ea 100644 --- a/internal/rpc/msg/delete.go +++ b/internal/rpc/msg/delete.go @@ -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) }