added select channel dialog

This commit is contained in:
fourtf
2018-04-18 09:12:29 +02:00
parent 043823120f
commit 3446a623f5
29 changed files with 1295 additions and 69 deletions
+3 -2
View File
@@ -17,8 +17,9 @@ namespace providers {
namespace twitch {
TwitchServer::TwitchServer()
: whispersChannel(new Channel("/whispers"))
, mentionsChannel(new Channel("/mentions"))
: whispersChannel(new Channel("/whispers", Channel::TwitchWhispers))
, mentionsChannel(new Channel("/mentions", Channel::TwitchMentions))
, watchingChannel(new Channel("/watching", Channel::TwitchWatching))
{
AccountManager::getInstance().Twitch.userChanged.connect([this]() { //
util::postToThread([this] { this->connect(); });