server api修改用户name

This commit is contained in:
heavyrain2012
2021-04-03 14:29:24 +08:00
parent 8ed1ba2f3a
commit edd973904a
2 changed files with 4 additions and 0 deletions
@@ -2206,6 +2206,9 @@ public class MemoryMessagesStore implements IMessagesStore {
if((flag & Update_User_Extra) > 0) {
builder.setExtra(userInfo.getExtra());
}
if((flag & Update_User_Name) > 0) {
builder.setName(userInfo.getName());
}
builder.setUpdateDt(System.currentTimeMillis());
user = builder.build();
try {
@@ -211,6 +211,7 @@ public class ProtoConstants {
int Update_User_Company = 0x40;
int Update_User_Social = 0x80;
int Update_User_Extra = 0x100;
int Update_User_Name = 0x200;
}