fixed bug causing forum posts to require PGP-signed ID on PGP-favored forums

This commit is contained in:
csoler 2015-10-28 18:07:43 -04:00
parent 04ead356e5
commit 459cbc6c8e

View File

@ -123,10 +123,7 @@ void CreateGxsForumMsg::newMsg()
/* fill in the available OwnIds for signing */ /* fill in the available OwnIds for signing */
std::cerr << "Initing ID chooser. Sign flags = " << std::hex << mForumMeta.mSignFlags << std::dec << std::endl; std::cerr << "Initing ID chooser. Sign flags = " << std::hex << mForumMeta.mSignFlags << std::dec << std::endl;
if(mForumMeta.mSignFlags & GXS_SERV::FLAG_AUTHOR_AUTHENTICATION_GPG) ui.idChooser->loadIds(IDCHOOSER_ID_REQUIRED, RsGxsId());
ui.idChooser->loadIds(IDCHOOSER_ID_REQUIRED | IDCHOOSER_NON_ANONYMOUS, RsGxsId());
else
ui.idChooser->loadIds(IDCHOOSER_ID_REQUIRED, RsGxsId());
if (mForumId.isNull()) { if (mForumId.isNull()) {
mStateHelper->setActive(CREATEGXSFORUMMSG_FORUMINFO, false); mStateHelper->setActive(CREATEGXSFORUMMSG_FORUMINFO, false);