Notify new messages after account creation only

This commit is contained in:
M66B
2018-11-06 16:45:52 +00:00
parent eb6203ab85
commit 5e9bb1415d
6 changed files with 1059 additions and 1 deletions

View File

@@ -650,6 +650,7 @@ public class FragmentSetup extends FragmentEx {
JSONObject jaccount = (JSONObject) jaccounts.get(a);
EntityAccount account = EntityAccount.fromJSON(jaccount);
account.store_sent = false;
account.created = new Date().getTime();
account.id = db.account().insertAccount(account);
Log.i(Helper.TAG, "Imported account=" + account.name);