Skip to content

Commit 8a4f5ab

Browse files
committed
Set up FileLoader delegate for non-zero active accounts at app startup.
1 parent 48f63ff commit 8a4f5ab

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ public void onReceive(Context context, Intent intent) {
238238
continue;
239239
}
240240
MessagesController.getInstance(a);
241+
if (a != 0) {
242+
ImageLoader.getInstance().setupFileLoaderDelegate(a);
243+
}
241244
if (a == 0) {
242245
SharedConfig.pushStringStatus = "__FIREBASE_GENERATING_SINCE_" + ConnectionsManager.getInstance(a).getCurrentTime() + "__";
243246
} else {

0 commit comments

Comments
 (0)