pc在线时,是否推送手机端信息定义修正

This commit is contained in:
heavyrain2012
2020-10-05 22:49:02 +08:00
parent ef1f25dab1
commit 6388f1b89c
@@ -2746,10 +2746,10 @@ public class MemoryMessagesStore implements IMessagesStore {
@Override
public boolean getSilentWhenPcOnline(String userId) {
WFCMessage.UserSettingEntry entry = getUserSetting(userId, UserSettingScope.kUserSettingMuteWhenPCOnline, null);
if (entry == null || !entry.getValue().equals("0")) {
return false;
} else {
if (entry != null && "1".equals(entry.getValue())) {
return true;
} else {
return false;
}
}