Added display of your own status

Fixes #85
This commit is contained in:
2020-10-08 16:12:24 +02:00
parent 3810fdef02
commit e8202e0c94
9 changed files with 127 additions and 73 deletions

View File

@ -293,6 +293,9 @@ public final class LocalDB implements EventListener {
});
}
@Event(priority = 500)
private void onOwnStatusChange(OwnStatusChange statusChange) { user.setStatus(statusChange.get()); }
/**
* @return a {@code Map<String, User>} of all users stored locally with their
* user names as keys