refactor: remove LimitedQueueSnapshot (#6606)

Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2025-11-27 19:49:40 +01:00
committed by GitHub
parent a935965390
commit 30019b71aa
15 changed files with 40 additions and 173 deletions
@@ -154,7 +154,7 @@ void NotificationController::notifyTwitchChannelLive(
void NotificationController::notifyTwitchChannelOffline(const QString &id) const
{
// "delete" old 'CHANNEL is live' message
const LimitedQueueSnapshot<MessagePtr> snapshot =
const std::vector<MessagePtr> snapshot =
getApp()->getTwitch()->getLiveChannel()->getMessageSnapshot(200);
// Guard against empty snapshot to prevent underflow and invalid access