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:
parent
be945fe3ee
commit
40447f3f42
@ -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
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user