From db97a14cdc49211e6e3b075d0cd9bc4b14828dd1 Mon Sep 17 00:00:00 2001 From: nerix Date: Sat, 18 Mar 2023 12:47:38 +0100 Subject: [PATCH] Ignore BTTV user-events (#4438) Co-authored-by: pajlada --- CHANGELOG.md | 1 + src/providers/bttv/BttvLiveUpdates.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecc29e6dd..887ba3c20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unversioned - Minor: Added support for FrankerFaceZ animated emotes. (#4434) +- Dev: Ignore unhandled BTTV user-events. (#4438) - Dev: Only log debug messages when NDEBUG is not defined. (#4442) - Dev: Cleaned up theme related code. (#4450) diff --git a/src/providers/bttv/BttvLiveUpdates.cpp b/src/providers/bttv/BttvLiveUpdates.cpp index 1a0752297..f9128b5c7 100644 --- a/src/providers/bttv/BttvLiveUpdates.cpp +++ b/src/providers/bttv/BttvLiveUpdates.cpp @@ -83,6 +83,10 @@ void BttvLiveUpdates::onMessage( this->signals_.emoteRemoved.invoke(message); } + else if (eventType == "lookup_user") + { + // ignored + } else { qCDebug(chatterinoBttv) << "Unhandled event:" << json;