use the comments ID to create new comment

This commit is contained in:
csoler 2020-10-01 21:06:33 +02:00
parent c30c7a4dfe
commit 5e2f46a5fc
4 changed files with 18 additions and 7 deletions

View file

@ -741,8 +741,10 @@ void PostedListWidgetWithModel::createMsg()
if (!IS_GROUP_SUBSCRIBED(mGroup.mMeta.mSubscribeFlags)) {
return;
}
PostedCreatePostDialog *msgDialog = new PostedCreatePostDialog(rsPosted,groupId());
RsGxsId author_id;
ui->idChooser->getChosenId(author_id);
std::cerr << "Chosing default ID " << author_id<< std::endl;
PostedCreatePostDialog *msgDialog = new PostedCreatePostDialog(rsPosted,groupId(),author_id);
msgDialog->show();
/* window will destroy itself! */