Move management of Sone following times to database.
[Sone.git] / src / main / java / net / pterodactylus / sone / database / FriendProvider.java
index 7583c77..cae2ff8 100644 (file)
@@ -5,6 +5,8 @@ import java.util.Collection;
 import net.pterodactylus.sone.data.LocalSone;
 import net.pterodactylus.sone.data.Sone;
 
+import com.google.common.base.Optional;
+
 /**
  * Provides information about {@link Sone#getFriends() friends} of a {@link Sone}.
  *
@@ -13,6 +15,7 @@ import net.pterodactylus.sone.data.Sone;
 public interface FriendProvider {
 
        Collection<String> getFriends(LocalSone localSone);
+       Optional<Long> getSoneFollowingTime(String remoteSoneId);
        boolean isFriend(LocalSone localSone, String friendSoneId);
 
 }