diff options
author | 2018-10-04 13:59:28 +0300 | |
---|---|---|
committer | 2018-10-04 14:01:56 +0300 | |
commit | 873fbbc8b7f59c68c6bf37ff9af79c8fb2aef8ed (patch) | |
tree | 86684ced187edc819acb6a8132047342553d3d76 /juick-server/src/main/java/com/juick/service/activities/ActivityListener.java | |
parent | fdc329f367e5685cc9d4b0654f53eaa03818e905 (diff) |
ActivityPub: handle Undo following requests
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/activities/ActivityListener.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/service/activities/ActivityListener.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/service/activities/ActivityListener.java b/juick-server/src/main/java/com/juick/service/activities/ActivityListener.java new file mode 100644 index 00000000..f89b401d --- /dev/null +++ b/juick-server/src/main/java/com/juick/service/activities/ActivityListener.java @@ -0,0 +1,10 @@ +package com.juick.service.activities; + +import org.springframework.context.event.EventListener; + +public interface ActivityListener { + @EventListener + void processFollowEvent(FollowEvent event); + @EventListener + void undoFollowEvent(UndoFollowEvent event); +} |