diff --git a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp index 9ef8e3215..c9c0f5f2f 100644 --- a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp +++ b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp @@ -533,6 +533,13 @@ void PostedListWidgetWithModel::editPost() RsGxsId author_id; ui->idChooser->getChosenId(author_id); + if(!rsIdentity->isOwnId(author_id)) + { + QString errorMessage = QString(tr("Attempt to edit a board post with an author that is not a own ID")); + QMessageBox::warning(this, "RetroShare", errorMessage, QMessageBox::Ok, QMessageBox::Ok); + return; + } + PostedCreatePostDialog *msgDialog = new PostedCreatePostDialog(rsPosted, groupId(),author_id, post.mMeta.mMsgId); msgDialog->show(); }