mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-06-22 16:58:16 +08:00
first name
This commit is contained in:
parent
bede0f275f
commit
c93ce2f8e5
@ -702,13 +702,13 @@ func (s *friendServer) AddOnewayFriend(ctx context.Context, req *relation.ApplyT
|
||||
}
|
||||
// Notify only A (FromUserID) so incremental friend sync is triggered
|
||||
// without notifying B (ToUserID).
|
||||
tips := sdkws.FriendApplicationApprovedTips{
|
||||
FromToUserID: &sdkws.FromToUserID{
|
||||
FromUserID: req.FromUserID,
|
||||
ToUserID: req.ToUserID,
|
||||
},
|
||||
}
|
||||
s.notificationSender.Notification(ctx, req.FromUserID, req.FromUserID, constant.FriendApplicationApprovedNotification, &tips)
|
||||
//tips := sdkws.FriendApplicationApprovedTips{
|
||||
// FromToUserID: &sdkws.FromToUserID{
|
||||
// FromUserID: req.FromUserID,
|
||||
// ToUserID: req.ToUserID,
|
||||
// },
|
||||
//}
|
||||
//s.notificationSender.Notification(ctx, req.FromUserID, req.FromUserID, constant.FriendApplicationApprovedNotification, &tips)
|
||||
return &relation.ApplyToAddFriendResp{}, nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user