mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
f97780d84e
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
13 lines
380 B
C++
13 lines
380 B
C++
#include "providers/twitch/PubSubActions.hpp"
|
|
|
|
namespace chatterino {
|
|
|
|
PubSubAction::PubSubAction(const QJsonObject &data, const QString &_roomID)
|
|
: timestamp(std::chrono::steady_clock::now())
|
|
, roomID(_roomID)
|
|
{
|
|
this->source.id = data.value("created_by_user_id").toString();
|
|
this->source.login = data.value("created_by").toString();
|
|
}
|
|
|
|
} // namespace chatterino
|