mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed post versionning
This commit is contained in:
parent
23302ea469
commit
ed68d720aa
@ -968,6 +968,7 @@ void GxsForumThreadWidget::clickedThread(QModelIndex index)
|
||||
return;
|
||||
|
||||
mThreadId = tmp;
|
||||
mOrigThreadId = tmp;
|
||||
|
||||
std::cerr << "Clicked on message ID " << mThreadId << std::endl;
|
||||
|
||||
@ -1910,7 +1911,7 @@ void GxsForumThreadWidget::insertMessage()
|
||||
|
||||
// add/show combobox for versions, if applicable, and enable it. If no older versions of the post available, hide the combobox.
|
||||
|
||||
std::vector<std::pair<time_t,RsGxsMessageId> > post_versions = mThreadModel->getPostVersions(mThreadId);
|
||||
std::vector<std::pair<time_t,RsGxsMessageId> > post_versions = mThreadModel->getPostVersions(mOrigThreadId);
|
||||
|
||||
std::cerr << "Looking into existing versions for post " << mThreadId << ", thread history: " << post_versions.size() << std::endl;
|
||||
ui->versions_CB->blockSignals(true) ;
|
||||
|
Loading…
Reference in New Issue
Block a user