mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2025-07-11 16:56:25 +00:00
Merge branch 'master' into feature-json
This commit is contained in:
@ -36,7 +36,7 @@ class TelegramUpdateHandler implements UpdateCallback {
|
||||
public boolean debug = false;
|
||||
private Gson gson = Utils.getGson();
|
||||
|
||||
public void setUser(UserManager user, TelegramClient client) { this.user = user; this.db = new Database(user, client, false);}
|
||||
public void activate() { this.user = UserManager.getInstance(); this.db = Database.getInstance();}
|
||||
|
||||
public void onUpdates(TelegramClient c, TLUpdates u) {
|
||||
if (db==null) return;
|
||||
|
Reference in New Issue
Block a user