attempt at not reloading full channel data at every change

This commit is contained in:
csoler 2023-02-09 23:27:43 +01:00
parent 9442d87644
commit c06da99757
5 changed files with 520 additions and 479 deletions

View file

@ -104,11 +104,11 @@ public:
/* GxsMessageFrameWidget */
virtual QIcon groupIcon() override;
virtual void groupIdChanged() override { updateDisplay(true); }
virtual void groupIdChanged() override { updateDisplay(true,true); }
virtual QString groupName(bool) override;
virtual bool navigate(const RsGxsMessageId&) override;
void updateDisplay(bool complete);
void updateDisplay(bool update_group_data, bool update_posts);
#ifdef TODO
/* FeedHolder */
@ -141,7 +141,7 @@ protected:
private slots:
void showPostDetails();
void updateGroupData();
void updateData(bool update_group_data,bool update_posts);
void download();
void updateDAll_PB();
void createMsg();