askClosesession

This commit is contained in:
Alexandre Gonzalvez 2020-12-18 09:34:06 +01:00
parent e3cc932bf5
commit 21b447fe98

View file

@ -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");