From 08d5f2d6f3eeded6d7a2e1adcf94e850098aa85f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 5 Apr 2015 15:34:11 +0300 Subject: On room creation show room name in general tab caption. Not allow move if in room. --- src/gui/windows/chatwindow.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/chatwindow.h') diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index 33d6a89bd..479d7db6a 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -199,9 +199,6 @@ class ChatWindow final : public Window, WhisperTab *getWhisperTab(const std::string &nick) const A_WARN_UNUSED; - ChatTab *addChatRoomTab(const std::string &name, - const bool switchTo = false); - ChatTab *addChannelTab(const std::string &name, const bool switchTo = false); @@ -212,6 +209,8 @@ class ChatWindow final : public Window, const bool switchTo, const bool join) A_WARN_UNUSED; + void joinRoom(const bool isJoin); + void removeAllWhispers(); void removeAllChannels(); -- cgit v1.2.3-60-g2f50