Change Event Bus version to 0.0.4, fix message event handler

The message event handler ignored group messages, as event handlers do
not include subtypes be default. This behavior has been implemented in
Event Bus 0.0.4 and integrated into Envoy.
This commit is contained in:
Kai S. K. Engelbart 2020-09-20 14:13:11 +02:00
parent be945fe3ee
commit 40447f3f42
Signed by: kske
GPG Key ID: 8BEB13EC5DF7EF13
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -23,7 +23,7 @@
<dependency>
<groupId>dev.kske</groupId>
<artifactId>event-bus</artifactId>
<version>0.0.3</version>
<version>0.0.4</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>