From 8e4dd3cdef1348bcf1285576bb946afb85ce2526 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 08 十二月 2020 17:31:27 +0800 Subject: [PATCH] 增加分享设备的时候,判断当前房间分享设备总数,从而决定是否需要增加或者移除房间分享 --- HDL_ON/Common/HDLCommon.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs index 3bacd32..5d7cf4d 100644 --- a/HDL_ON/Common/HDLCommon.cs +++ b/HDL_ON/Common/HDLCommon.cs @@ -247,8 +247,7 @@ { try { - - if (jpushMessageInfo.Extras != null && jpushMessageInfo.Extras.Contains("Offline")) + if (jpushMessageInfo.Extras != null && jpushMessageInfo.Extras.Contains("OffLine")) { Shared.Application.RunOnMainThread(() => { @@ -282,6 +281,9 @@ { try { + //鏈櫥褰曚笉鐢ㄥ鐞� + if (!UserInfo.Current.IsLogin) return; + Shared.Application.RunOnMainThread(() => { #region 淇濆瓨鏈湴鏁版嵁鑷虫枃浠跺す -- Gitblit v1.8.0