mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 07:20:38 +00:00
Update to 8.3.0
This commit is contained in:
parent
23b70a3882
commit
64c32ace43
197 changed files with 9478 additions and 2944 deletions
|
|
@ -1221,13 +1221,13 @@ public class NotificationsController extends BaseController {
|
|||
try {
|
||||
for (int i = 0, N = MessagesController.getInstance(a).allDialogs.size(); i < N; i++) {
|
||||
TLRPC.Dialog dialog = MessagesController.getInstance(a).allDialogs.get(i);
|
||||
if (DialogObject.isChatDialog(dialog.id)) {
|
||||
if (dialog != null && DialogObject.isChatDialog(dialog.id)) {
|
||||
TLRPC.Chat chat = getMessagesController().getChat(-dialog.id);
|
||||
if (ChatObject.isNotInChat(chat)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (dialog.unread_count != 0) {
|
||||
if (dialog != null && dialog.unread_count != 0) {
|
||||
count += dialog.unread_count;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue