解决当用户关系不存在时,设置备注名失败的问题
This commit is contained in:
@@ -2662,7 +2662,9 @@ public class MemoryMessagesStore implements IMessagesStore {
|
||||
}
|
||||
|
||||
if (friendData == null) {
|
||||
return ErrorCode.ERROR_CODE_NOT_EXIST;
|
||||
friendData = new FriendData();
|
||||
friendData.setUserId(fromUser);
|
||||
friendData.setFriendUid(targetUserId);
|
||||
}
|
||||
|
||||
friendData.setAlias(alias);
|
||||
|
||||
Reference in New Issue
Block a user