diff options
Diffstat (limited to 'src/components/chatwindow.cpp')
-rw-r--r-- | src/components/chatwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/chatwindow.cpp b/src/components/chatwindow.cpp index 99ec8a0..f51b58f 100644 --- a/src/components/chatwindow.cpp +++ b/src/components/chatwindow.cpp @@ -172,6 +172,14 @@ void ChatWindow::SetTopic(const std::string &text) { void ChatWindow::OpenNewTab(Snowflake id) { m_tab_switcher->AddChannelTab(id); } + +TabsState ChatWindow::GetTabsState() { + return m_tab_switcher->GetTabsState(); +} + +void ChatWindow::UseTabsState(const TabsState &state) { + m_tab_switcher->UseTabsState(state); +} #endif Snowflake ChatWindow::GetActiveChannel() const { |