From: Evan Prodromou Date: Sat, 27 Aug 2011 21:37:10 +0000 (-0400) Subject: allow posting to groups through atompub X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=abdae45679db1dca8488f42fdcad3e601ff05a8b;p=quix0rs-gnu-social.git allow posting to groups through atompub --- diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index 02e4860864..62d0a5e0d5 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -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));