server api修改用户name
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user