diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index d180448ff..398ef7ee8 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -397,7 +397,7 @@ void ChannelView::setChannel(ChannelPtr newChannel) this->detachChannel(); } - this->messages.clear(); + this->clearMessages(); // on new message this->channelConnections_.push_back(