chore: remove bad event api init comments (#6212)
we no longer ignore the connections
This commit is contained in:
@@ -837,8 +837,6 @@ void TwitchIrcServer::initEventAPIs(BttvLiveUpdates *bttvLiveUpdates,
|
|||||||
|
|
||||||
if (bttvLiveUpdates != nullptr)
|
if (bttvLiveUpdates != nullptr)
|
||||||
{
|
{
|
||||||
// We can safely ignore these signal connections since the twitch object will always
|
|
||||||
// be destroyed before the Application
|
|
||||||
this->signalHolder.managedConnect(
|
this->signalHolder.managedConnect(
|
||||||
bttvLiveUpdates->signals_.emoteAdded, [&](const auto &data) {
|
bttvLiveUpdates->signals_.emoteAdded, [&](const auto &data) {
|
||||||
auto chan = this->getChannelOrEmptyByID(data.channelID);
|
auto chan = this->getChannelOrEmptyByID(data.channelID);
|
||||||
@@ -886,8 +884,6 @@ void TwitchIrcServer::initEventAPIs(BttvLiveUpdates *bttvLiveUpdates,
|
|||||||
|
|
||||||
if (seventvEventAPI != nullptr)
|
if (seventvEventAPI != nullptr)
|
||||||
{
|
{
|
||||||
// We can safely ignore these signal connections since the twitch object will always
|
|
||||||
// be destroyed before the Application
|
|
||||||
this->signalHolder.managedConnect(
|
this->signalHolder.managedConnect(
|
||||||
seventvEventAPI->signals_.emoteAdded, [this](const auto &data) {
|
seventvEventAPI->signals_.emoteAdded, [this](const auto &data) {
|
||||||
postToThread([this, data] {
|
postToThread([this, data] {
|
||||||
|
|||||||
Reference in New Issue
Block a user