From abdae45679db1dca8488f42fdcad3e601ff05a8b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 27 Aug 2011 17:37:10 -0400 Subject: [PATCH] allow posting to groups through atompub --- actions/apitimelineuser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5