fix: 查询对话时没有名字的 bug

oneRain 2020-05-18 17:17:26 +08:00
parent 15dbcdb9e8
commit ec95b05d77
1 changed files with 3 additions and 0 deletions

View File

@ -477,6 +477,9 @@ namespace LeanCloud.Realtime {
if (conv.TryGetValue("objectId", out object idObj)) {
Id = idObj as string;
}
if (conv.TryGetValue("name", out object nameObj)) {
Name = nameObj as string;
}
if (conv.TryGetValue("unique", out object uniqueObj)) {
Unique = (bool)uniqueObj;
}