mirror-chatterino2/src/providers/twitch/PubsubActions.cpp

15 lines
345 B
C++
Raw Normal View History

2018-06-26 14:09:39 +02:00
#include "providers/twitch/PubsubActions.hpp"
2018-06-26 14:09:39 +02:00
#include "providers/twitch/PubsubHelpers.hpp"
namespace chatterino {
PubSubAction::PubSubAction(const rapidjson::Value &data, const QString &_roomID)
: timestamp(std::chrono::steady_clock::now())
, roomID(_roomID)
{
getCreatedByUser(data, this->source);
}
} // namespace chatterino