fixed removal of board share publish permission entry in drop menu

This commit is contained in:
csoler 2021-02-26 10:39:38 +01:00
parent d62506479e
commit ab12f531d0

View File

@ -192,7 +192,8 @@ GxsGroupDialog *PostedDialog::createGroupDialog(GxsGroupDialog::Mode mode, RsGxs
int PostedDialog::shareKeyType() int PostedDialog::shareKeyType()
{ {
return POSTED_KEY_SHARE; //return POSTED_KEY_SHARE;
return 0; // Boards are public. By the time we offer the possibility to make them restricted, we need to not show the 'share publish permission' entry in the drop menu.
} }
GxsMessageFrameWidget *PostedDialog::createMessageFrameWidget(const RsGxsGroupId &groupId) GxsMessageFrameWidget *PostedDialog::createMessageFrameWidget(const RsGxsGroupId &groupId)