work on dynamic badge-loading

This commit is contained in:
Rasmus Karlsson
2017-06-15 23:13:01 +02:00
parent e7282b5097
commit 7525dae768
11 changed files with 263 additions and 15 deletions
+13
View File
@@ -120,4 +120,17 @@ void ChannelManager::removeChannel(const QString &channel)
}
}
const std::string &ChannelManager::getUserID(const std::string &username)
{
auto it = this->usernameToID.find(username);
/*
if (it != std::end(this->usernameToID)) {
return *it;
}
*/
return "xd";
}
} // namespace chatterino