mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-06-15 03:20:20 +08:00
修改好友remark,通知群资料更新
This commit is contained in:
parent
48a60ff266
commit
7abd7b5299
@ -189,8 +189,8 @@ func (s *groupServer) resolveFriendDisplayName(ctx context.Context, ownerUserID,
|
||||
if err != nil || len(users) == 0 {
|
||||
return "", err
|
||||
}
|
||||
if users[0].FirstName != "" {
|
||||
return users[0].FirstName, nil
|
||||
if users[0].FirstName != "" || users[0].LastName != "" {
|
||||
return users[0].FirstName + " " + users[0].LastName, nil
|
||||
}
|
||||
return users[0].Nickname, nil
|
||||
}
|
||||
|
||||
2
protocol
2
protocol
@ -1 +1 @@
|
||||
Subproject commit c5adb72b8d02244a5d3d7d814e607e9b6256fdd6
|
||||
Subproject commit bf66521b27c2302dcae38ff441b035cd443edf20
|
||||
Loading…
x
Reference in New Issue
Block a user