From ab12f531d0b93929fe5f0627509d82c2115629b7 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 26 Feb 2021 10:39:38 +0100 Subject: [PATCH] fixed removal of board share publish permission entry in drop menu --- retroshare-gui/src/gui/Posted/PostedDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/Posted/PostedDialog.cpp b/retroshare-gui/src/gui/Posted/PostedDialog.cpp index 1364cf2d7..15ce3139b 100644 --- a/retroshare-gui/src/gui/Posted/PostedDialog.cpp +++ b/retroshare-gui/src/gui/Posted/PostedDialog.cpp @@ -192,7 +192,8 @@ GxsGroupDialog *PostedDialog::createGroupDialog(GxsGroupDialog::Mode mode, RsGxs 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)