mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
added blocking API for createComment() in GxsCommentService and removed token queue from GxsCreateCommentDialog
This commit is contained in:
parent
ab2c1f23e9
commit
dc3c3488df
11 changed files with 26 additions and 31 deletions
|
@ -47,7 +47,7 @@
|
|||
|
||||
PostedCreatePostDialog::PostedCreatePostDialog(TokenQueue* tokenQ, RsPosted *posted, const RsGxsGroupId& grpId, QWidget *parent):
|
||||
QDialog(parent, Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint),
|
||||
mTokenQueue(tokenQ), mPosted(posted), mGrpId(grpId),
|
||||
mPosted(posted), mGrpId(grpId),
|
||||
ui(new Ui::PostedCreatePostDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
@ -176,7 +176,6 @@ void PostedCreatePostDialog::createPost()
|
|||
|
||||
uint32_t token;
|
||||
mPosted->createPost(token, post);
|
||||
// mTokenQueue->queueRequest(token, TOKENREQ_MSGINFO, RS_TOKREQ_ANSTYPE_ACK, TOKEN_USER_TYPE_POST);
|
||||
|
||||
accept();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue