summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/chatwindow.cpp6
-rw-r--r--src/gui/windows/chatwindow.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 748114b10..2c1f580ad 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1219,6 +1219,12 @@ ChatTab *ChatWindow::addSpecialChannelTab(const std::string &name,
return ret;
}
+ChatTab *ChatWindow::addChatRoomTab(const std::string &name,
+ const bool switchTo)
+{
+ return nullptr;
+}
+
ChatTab *ChatWindow::addChannelTab(const std::string &name,
const bool switchTo)
{
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index 3bbb40e5e..33d6a89bd 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -199,6 +199,9 @@ 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);