mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
excluded inline whispers from latest messages in userpopup
This commit is contained in:
parent
94ffc66b2a
commit
125774ecb2
|
@ -620,7 +620,8 @@ void UserInfoPopup::fillLatestMessages(){
|
||||||
for (size_t i = 0; i < snapshot.size(); i++)
|
for (size_t i = 0; i < snapshot.size(); i++)
|
||||||
{
|
{
|
||||||
MessagePtr message = snapshot[i];
|
MessagePtr message = snapshot[i];
|
||||||
if ( message->loginName.compare(this->userName_, Qt::CaseInsensitive) == 0)
|
if ( message->loginName.compare(this->userName_, Qt::CaseInsensitive) == 0
|
||||||
|
&& !message->flags.has(MessageFlag::Whisper) )
|
||||||
{
|
{
|
||||||
channelPtr->addMessage(message);
|
channelPtr->addMessage(message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue