2018-04-28 15:48:40 +02:00
|
|
|
#include "providers/twitch/pubsubactions.hpp"
|
2018-04-15 15:09:31 +02:00
|
|
|
|
2018-04-28 15:48:40 +02:00
|
|
|
#include "providers/twitch/pubsubhelpers.hpp"
|
2018-04-15 15:09:31 +02:00
|
|
|
|
|
|
|
namespace chatterino {
|
2018-04-28 15:48:40 +02:00
|
|
|
namespace providers {
|
|
|
|
namespace twitch {
|
2018-04-15 15:09:31 +02:00
|
|
|
|
2018-04-22 15:37:02 +02:00
|
|
|
PubSubAction::PubSubAction(const rapidjson::Value &data, const QString &_roomID)
|
2018-04-15 15:09:31 +02:00
|
|
|
: timestamp(std::chrono::steady_clock::now())
|
2018-04-22 15:37:02 +02:00
|
|
|
, roomID(_roomID)
|
2018-04-15 15:09:31 +02:00
|
|
|
{
|
|
|
|
getCreatedByUser(data, this->source);
|
|
|
|
}
|
|
|
|
|
2018-04-28 15:48:40 +02:00
|
|
|
} // namespace twitch
|
|
|
|
} // namespace providers
|
2018-04-15 15:09:31 +02:00
|
|
|
} // namespace chatterino
|