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:
0xRainy
2020-06-21 05:15:14 -07:00
committed by GitHub
parent c5f6fd7568
commit 0e564065ba
7 changed files with 117 additions and 8 deletions
+6 -1
View File
@@ -223,8 +223,13 @@ public:
this->firstChunkOffset_, this->lastChunkEnd_);
}
bool empty() const
{
return this->limit_ - this->space() == 0;
}
private:
qsizetype space()
qsizetype space() const
{
size_t totalSize = 0;
for (auto &chunk : *this->chunks_)