GxsGroupDialog: allow to create groups without author

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8044 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-03-18 13:36:38 +00:00
parent 148fd8bb05
commit 71a8dba487
2 changed files with 5 additions and 11 deletions

View file

@ -500,15 +500,9 @@ bool GxsGroupDialog::prepareGroupMetaData(RsGroupMetaData &meta)
std::cerr << "GxsGroupDialog::prepareGroupMetaData()";
std::cerr << std::endl;
switch (ui.idChooser->getChosenId(meta.mAuthorId)) {
case GxsIdChooser::KnowId:
case GxsIdChooser::UnKnowId:
break;
case GxsIdChooser::NoId:
case GxsIdChooser::None:
default:
return false;
}//switch (ui.idChooser->getChosenId(meta.mAuthorId))
// here would be the place to check for empty author id
// but GXS_SERV::GRP_OPTION_AUTHEN_AUTHOR_SIGN is currently not used by any service
ui.idChooser->getChosenId(meta.mAuthorId);
QString name = getName();
uint32_t flags = GXS_SERV::FLAG_PRIVACY_PUBLIC;