Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Jun 30, 2024
1 parent f9fd62d commit ff0f3b4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@ public void maybeUpdateLocalInfo(){
}
}
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);
Expand Down Expand Up @@ -388,7 +388,7 @@ private void readInstanceInfo(Set<String> domains){
}
if(!loadedInstances){
loadedInstances=true;
MastodonAPIController.runInBackground(()->maybeUpdateCustomEmojis(domains));
MastodonAPIController.runInBackground(()->maybeUpdateInstanceInfo(domains));
}
}

Expand Down

0 comments on commit ff0f3b4

Please sign in to comment.