aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/UserService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-23 17:48:25 +0300
committerGravatar Vitaly Takmazov2018-10-23 17:48:25 +0300
commit8e83a22012c2bee323eeeb3ae1384ac488741ebf (patch)
tree947f307ce94e926938b23427e60346e0c5d21c11 /juick-common/src/main/java/com/juick/service/UserService.java
parentcab7e26aea1ac9518ff6c625340de2b809eaed50 (diff)
Last seen
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/UserService.java')
-rw-r--r--juick-common/src/main/java/com/juick/service/UserService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/service/UserService.java b/juick-common/src/main/java/com/juick/service/UserService.java
index d59f71ef..832f978a 100644
--- a/juick-common/src/main/java/com/juick/service/UserService.java
+++ b/juick-common/src/main/java/com/juick/service/UserService.java
@@ -23,6 +23,7 @@ import com.juick.model.Auth;
import com.juick.model.UserInfo;
import javax.annotation.Nonnull;
+import java.time.Instant;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
@@ -131,4 +132,6 @@ public interface UserService {
boolean unauthJID(int uid, String jid);
List<String> getActiveJIDs();
+
+ void updateLastSeen(User user);
}