Merge branch 'client-csharp' of https://github.com/mattuylee/stormchat into client-csharp
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ namespace Interact
|
|||||||
//发起登录完成事件
|
//发起登录完成事件
|
||||||
if (head.Error != "")
|
if (head.Error != "")
|
||||||
OnLoginDone?.Invoke(head, null);
|
OnLoginDone?.Invoke(head, null);
|
||||||
JObject dataObj = (JObject)JsonConvert.SerializeObject(data);
|
JObject dataObj = (JObject)JsonConvert.DeserializeObject(Encoding.UTF8.GetString(data));
|
||||||
User user = new User
|
User user = new User
|
||||||
{
|
{
|
||||||
Name = dataObj[AttrNames.User].ToString(),
|
Name = dataObj[AttrNames.User].ToString(),
|
||||||
|
|||||||
Reference in New Issue
Block a user