fixed having the same chat open multiple times

This commit is contained in:
fourtf
2017-02-02 23:51:02 +01:00
parent c6c90d9f50
commit a92c3dc2a4
5 changed files with 29 additions and 25 deletions
-6
View File
@@ -20,17 +20,11 @@ Channel::Channel(const QString &channel)
: channel)
, bttvChannelEmotes()
, ffzChannelEmotes()
, messageMutex()
, subLink("https://www.twitch.tv/" + name +
"/subscribe?ref=in_chat_subscriber_link")
, channelLink("https://twitch.tv/" + name)
, popoutPlayerLink("https://player.twitch.tv/?channel=" + name)
{
// for (int i = 0; i < 40; i++) {
// addMessage(std::shared_ptr<messages::Message>(
// new messages::Message("test xD test")));
// }
reloadChannelEmotes();
}