Add room ID to pubsub moderator actions

This commit is contained in:
Rasmus Karlsson
2018-04-22 15:37:02 +02:00
parent d62e45d9dd
commit 92a19d61cf
4 changed files with 48 additions and 61 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ private:
std::map<WebsocketHandle, std::shared_ptr<PubSubClient>, std::owner_less<WebsocketHandle>>
clients;
std::unordered_map<std::string, std::function<void(const rapidjson::Value &)>>
std::unordered_map<std::string, std::function<void(const rapidjson::Value &, const QString &)>>
moderationActionHandlers;
void OnMessage(websocketpp::connection_hdl hdl, WebsocketMessagePtr msg);