fix: 查询对话时没有名字的 bug
parent
15dbcdb9e8
commit
ec95b05d77
|
@ -477,6 +477,9 @@ namespace LeanCloud.Realtime {
|
||||||
if (conv.TryGetValue("objectId", out object idObj)) {
|
if (conv.TryGetValue("objectId", out object idObj)) {
|
||||||
Id = idObj as string;
|
Id = idObj as string;
|
||||||
}
|
}
|
||||||
|
if (conv.TryGetValue("name", out object nameObj)) {
|
||||||
|
Name = nameObj as string;
|
||||||
|
}
|
||||||
if (conv.TryGetValue("unique", out object uniqueObj)) {
|
if (conv.TryGetValue("unique", out object uniqueObj)) {
|
||||||
Unique = (bool)uniqueObj;
|
Unique = (bool)uniqueObj;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue