We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a7380d59 authored by Evan Prodromou's avatar Evan Prodromou

set default address for showgroup

parent ec5a43bf
......@@ -365,6 +365,18 @@ class ShowgroupAction extends GroupDesignAction
function noticeFormOptions()
$options = parent::noticeFormOptions();
$cur = common_current_user();
if (!empty($cur) && $cur->isMember($this->group)) {
$options['to_group'] = $this->group;
return $options;
class GroupAdminSection extends ProfileSection
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment