mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-07-09 22:31:15 +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
|
// Notify only A (FromUserID) so incremental friend sync is triggered
|
||||||
// without notifying B (ToUserID).
|
// without notifying B (ToUserID).
|
||||||
tips := sdkws.FriendApplicationApprovedTips{
|
//tips := sdkws.FriendApplicationApprovedTips{
|
||||||
FromToUserID: &sdkws.FromToUserID{
|
// FromToUserID: &sdkws.FromToUserID{
|
||||||
FromUserID: req.FromUserID,
|
// FromUserID: req.FromUserID,
|
||||||
ToUserID: req.ToUserID,
|
// ToUserID: req.ToUserID,
|
||||||
},
|
// },
|
||||||
}
|
//}
|
||||||
s.notificationSender.Notification(ctx, req.FromUserID, req.FromUserID, constant.FriendApplicationApprovedNotification, &tips)
|
//s.notificationSender.Notification(ctx, req.FromUserID, req.FromUserID, constant.FriendApplicationApprovedNotification, &tips)
|
||||||
return &relation.ApplyToAddFriendResp{}, nil
|
return &relation.ApplyToAddFriendResp{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user