From 27b45098f05d1bbd4ac9a28cda84079126203359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 17 Nov 2018 13:46:23 +0100 Subject: [PATCH] ups --- .../model/ServerCommunication.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java index 7f829b3..daaaef2 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java @@ -357,20 +357,6 @@ public class ServerCommunication FBMService.recieveData(time, title, content, prio, scn_id, true); } - SCNSettings.inst().user_id = json_int(json, "user_id"); - SCNSettings.inst().quota_curr = json_int(json, "quota"); - SCNSettings.inst().quota_max = json_int(json, "quota_max"); - SCNSettings.inst().promode_server = json_bool(json, "is_pro"); - if (!json_bool(json, "fcm_token_set")) SCNSettings.inst().fcm_token_server = ""; - SCNSettings.inst().save(); - - SCNApp.refreshAccountTab(); - - if (json_int(json, "unack_count")>0) - { - ServerCommunication.requery(id, key, loader); - } - } catch (Exception e) { Log.e("SC:info", e.toString()); SCNApp.showToast("Communication with server failed", 4000);