mirror of
https://github.com/mastodon/mastodon-android.git
synced 2024-12-23 23:44:00 +01:00
Rename method
This commit is contained in:
parent
f9fd62db09
commit
ff0f3b414b
@ -270,11 +270,11 @@ public class AccountSessionManager{
|
||||
}
|
||||
}
|
||||
if(loadedInstances){
|
||||
maybeUpdateCustomEmojis(domains);
|
||||
maybeUpdateInstanceInfo(domains);
|
||||
}
|
||||
}
|
||||
|
||||
private void maybeUpdateCustomEmojis(Set<String> domains){
|
||||
private void maybeUpdateInstanceInfo(Set<String> domains){
|
||||
long now=System.currentTimeMillis();
|
||||
for(String domain:domains){
|
||||
Long lastUpdated=instancesLastUpdated.get(domain);
|
||||
@ -388,7 +388,7 @@ public class AccountSessionManager{
|
||||
}
|
||||
if(!loadedInstances){
|
||||
loadedInstances=true;
|
||||
MastodonAPIController.runInBackground(()->maybeUpdateCustomEmojis(domains));
|
||||
MastodonAPIController.runInBackground(()->maybeUpdateInstanceInfo(domains));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user