No need to go further

This commit is contained in:
stom79 2017-11-06 18:30:52 +01:00
parent 99ef945be2
commit b3e63f190c
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ public class NotificationsSyncJob extends Job implements OnRetrieveNotifications
pos++;
}
}
if( notifications.size() == 0 )
return;
//No previous notifications in cache, so no notification will be sent
int newFollows = 0;
int newAdds = 0;