|
@@ -107,7 +107,7 @@ public class ConnectionHandler {
|
107
|
107
|
@VisibleForTesting
|
108
|
108
|
@Handler
|
109
|
109
|
void handleAwayEvent(final ChannelUserAwayEvent event) {
|
110
|
|
- if (event.getChannel().getConnection().equals(connection)
|
|
110
|
+ if (event.getChannel().getConnection().equals(Optional.of(connection))
|
111
|
111
|
&& !event.getReason().isPresent()) {
|
112
|
112
|
event.setDisplayProperty(DisplayProperty.DO_NOT_DISPLAY, true);
|
113
|
113
|
final boolean notseen = !users.containsKey(event.getUser().getNickname());
|