mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-04-28 20:19:35 +00:00
Update to 7.6.1 (2274)
This commit is contained in:
parent
ca13bc972d
commit
7ba9838a2d
86 changed files with 2799 additions and 944 deletions
|
|
@ -241,6 +241,10 @@ public class UserConfig extends BaseController {
|
|||
}
|
||||
}
|
||||
|
||||
public static boolean isValidAccount(int num) {
|
||||
return num >= 0 && num < UserConfig.MAX_ACCOUNT_COUNT && getInstance(num).isClientActivated();
|
||||
}
|
||||
|
||||
public boolean isClientActivated() {
|
||||
synchronized (sync) {
|
||||
return currentUser != null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue