Rename method

This commit is contained in:
Grishka 2024-07-01 01:13:32 +03:00
parent f9fd62db09
commit ff0f3b414b
1 changed files with 3 additions and 3 deletions

View File

@ -270,11 +270,11 @@ public class AccountSessionManager{
} }
} }
if(loadedInstances){ if(loadedInstances){
maybeUpdateCustomEmojis(domains); maybeUpdateInstanceInfo(domains);
} }
} }
private void maybeUpdateCustomEmojis(Set<String> domains){ private void maybeUpdateInstanceInfo(Set<String> domains){
long now=System.currentTimeMillis(); long now=System.currentTimeMillis();
for(String domain:domains){ for(String domain:domains){
Long lastUpdated=instancesLastUpdated.get(domain); Long lastUpdated=instancesLastUpdated.get(domain);
@ -388,7 +388,7 @@ public class AccountSessionManager{
} }
if(!loadedInstances){ if(!loadedInstances){
loadedInstances=true; loadedInstances=true;
MastodonAPIController.runInBackground(()->maybeUpdateCustomEmojis(domains)); MastodonAPIController.runInBackground(()->maybeUpdateInstanceInfo(domains));
} }
} }