diff --git a/client/src/main/java/envoy/client/ui/controller/ChatScene.java b/client/src/main/java/envoy/client/ui/controller/ChatScene.java index 36845a3..912076a 100644 --- a/client/src/main/java/envoy/client/ui/controller/ChatScene.java +++ b/client/src/main/java/envoy/client/ui/controller/ChatScene.java @@ -210,7 +210,7 @@ public final class ChatScene implements EventListener, Restorable { @Event(eventType = BackEvent.class) private void onBackEvent() { tabPane.getSelectionModel().select(Tabs.CONTACT_LIST.ordinal()); } - @Event + @Event(includeSubtypes = true) private void onMessage(Message message) { // The sender of the message is the recipient of the chat diff --git a/common/pom.xml b/common/pom.xml index b2165ef..eb8daea 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -23,7 +23,7 @@ dev.kske event-bus - 0.0.3 + 0.0.4 org.junit.jupiter