forked from External/mage
Show user name in title bar of MAGE. Clear table chat after disconnect. Remove user from chat after disconnect. Some tweaking about the messages if a user disconnected/session expired.
This commit is contained in:
parent
ae30e9a884
commit
b6ddaabe44
12 changed files with 58 additions and 28 deletions
|
|
@ -163,7 +163,7 @@ public class Session {
|
|||
|
||||
public void kill() {
|
||||
logger.info("session killed for user " + userId);
|
||||
UserManager.getInstance().removeUser(userId);
|
||||
UserManager.getInstance().removeUser(userId, User.DisconnectReason.Disconnected);
|
||||
}
|
||||
|
||||
synchronized void fireCallback(final ClientCallback call) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue