fixed pausing while 1k messages are in the channel
This commit is contained in:
@@ -189,6 +189,11 @@ std::shared_ptr<Channel> TwitchServer::getCustomChannel(
|
||||
static auto channel =
|
||||
std::make_shared<Channel>("$$$", chatterino::Channel::Type::Misc);
|
||||
static auto timer = [&] {
|
||||
for (auto i = 0; i < 1000; i++)
|
||||
{
|
||||
channel->addMessage(makeSystemMessage(QString::number(i + 1)));
|
||||
}
|
||||
|
||||
auto timer = new QTimer;
|
||||
QObject::connect(timer, &QTimer::timeout, [] {
|
||||
channel->addMessage(
|
||||
|
||||
Reference in New Issue
Block a user