Fixed Saving When Using Alt F4 and Disabled Hiding If StatusTrayIcon is not supported(#65)
Fixed potentially not saving when using alt f4 and disabled hiding if StatusTrayIcon is not supported Reviewed-on: https://git.kske.dev/zdm/envoy/pulls/65 Reviewed-by: kske <kai@kske.dev> Reviewed-by: DieGurke <maxi@kske.dev>
This commit is contained in:
@ -235,7 +235,7 @@ public final class LocalDB implements EventListener {
|
||||
|
||||
@Event(priority = 150)
|
||||
private void onUserStatusChange(UserStatusChange evt) {
|
||||
this.getChat(evt.getID()).map(Chat::getRecipient).map(User.class::cast).ifPresent(u -> u.setStatus(evt.get()));
|
||||
getChat(evt.getID()).map(Chat::getRecipient).map(User.class::cast).ifPresent(u -> u.setStatus(evt.get()));
|
||||
}
|
||||
|
||||
@Event(priority = 150)
|
||||
|
Reference in New Issue
Block a user