Added recent messages to UserInfoPopup (#1729)
There's a Refresh button added to the popup to refresh the users messages in the popup. Not automatic now while we figure out how fast/slow it would be. Co-authored-by: dnsge <sagedanielr@gmail.com>
This commit is contained in:
@@ -59,6 +59,11 @@ bool Channel::isEmpty() const
|
||||
return this->name_.isEmpty();
|
||||
}
|
||||
|
||||
bool Channel::hasMessages() const
|
||||
{
|
||||
return !this->messages_.empty();
|
||||
}
|
||||
|
||||
LimitedQueueSnapshot<MessagePtr> Channel::getMessageSnapshot()
|
||||
{
|
||||
return this->messages_.getSnapshot();
|
||||
|
||||
@@ -75,6 +75,8 @@ public:
|
||||
void deleteMessage(QString messageID);
|
||||
void clearMessages();
|
||||
|
||||
bool hasMessages() const;
|
||||
|
||||
QStringList modList;
|
||||
|
||||
// CHANNEL INFO
|
||||
|
||||
Reference in New Issue
Block a user