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

Commit abdae456 authored by Evan Prodromou's avatar Evan Prodromou

allow posting to groups through atompub

parent db9ac1a5
......@@ -447,7 +447,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
} else {
$group = User_group::staticGet('uri', $uri);
if (!empty($group)) {
$options['groups'][] = $uri;
$options['groups'][] = $group->id;
} else {
// @fixme: hook for discovery here
common_log(LOG_WARNING, sprintf('AtomPub post with unknown attention URI %s', $uri));
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