Rename method
This commit is contained in:
parent
f9fd62db09
commit
ff0f3b414b
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue