Auto-refresh UserInfoPopup recent messages (#1982)

* Auto-refresh UserInfoPopup recent messages

* Update CHANGELOG.md

* Clean up code

* changed something about the connection

Co-authored-by: fourtf <tf.four@gmail.com>
This commit is contained in:
Daniel
2020-09-26 10:59:40 -04:00
committed by GitHub
parent d314566ab6
commit f7f858a4fc
3 changed files with 55 additions and 14 deletions
+4
View File
@@ -19,6 +19,7 @@ class UserInfoPopup final : public BaseWindow
public:
UserInfoPopup(bool closeAutomatically);
~UserInfoPopup();
void setData(const QString &name, const ChannelPtr &channel);
@@ -41,6 +42,9 @@ private:
pajlada::Signals::NoArgSignal userStateChanged_;
// replace with ScopedConnection once https://github.com/pajlada/signals/pull/10 gets merged
pajlada::Signals::Connection refreshConnection_;
std::shared_ptr<bool> hack_;
struct {