askClosesession
This commit is contained in:
parent
e3cc932bf5
commit
21b447fe98
1 changed files with 3 additions and 0 deletions
|
@ -379,6 +379,9 @@ public class Controller {
|
|||
return history;
|
||||
}
|
||||
|
||||
public void askCloseSession() {
|
||||
this.activeChat = null;
|
||||
}
|
||||
public void closeSession(Chat c) {
|
||||
sendMessage(new Msg_Text(myUser.getAddIP(),"end"), c); // tell rm session STOP
|
||||
JOptionPane.showMessageDialog(null ,"Close session with "+c.getRemoteUser().getPseudo()+" loading history");
|
||||
|
|
Loading…
Reference in a new issue