diff options
author | 2018-10-05 01:38:04 +0300 | |
---|---|---|
committer | 2018-10-05 01:38:04 +0300 | |
commit | fe761771ce3cb65b00dc3a826c51b9f20ff6c72d (patch) | |
tree | 7671e1bd31dfc10f10d1110048efc313762c6dfe /juick-common/src/main/java/com/juick/service/component/NotificationListener.java | |
parent | a6824b011325df07caf284352f09c2b9f76155c7 (diff) |
TopEvent: Announce in Fediverse, like in XMPP/Telegram
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/component/NotificationListener.java')
-rw-r--r-- | juick-common/src/main/java/com/juick/service/component/NotificationListener.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/service/component/NotificationListener.java b/juick-common/src/main/java/com/juick/service/component/NotificationListener.java index 8092e258..38d0490a 100644 --- a/juick-common/src/main/java/com/juick/service/component/NotificationListener.java +++ b/juick-common/src/main/java/com/juick/service/component/NotificationListener.java @@ -19,4 +19,7 @@ public interface NotificationListener { @Async @EventListener void processMessageReadEvent(MessageReadEvent messageReadEvent); + @Async + @EventListener + void processTopEvent(TopEvent topEvent); } |