forked from GNUsocial/gnu-social
		
	allow posting to groups through atompub
This commit is contained in:
		@@ -447,7 +447,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
 | 
				
			|||||||
                } else {
 | 
					                } else {
 | 
				
			||||||
                    $group = User_group::staticGet('uri', $uri);
 | 
					                    $group = User_group::staticGet('uri', $uri);
 | 
				
			||||||
                    if (!empty($group)) {
 | 
					                    if (!empty($group)) {
 | 
				
			||||||
                        $options['groups'][] = $uri;
 | 
					                        $options['groups'][] = $group->id;
 | 
				
			||||||
                    } else {
 | 
					                    } else {
 | 
				
			||||||
                        // @fixme: hook for discovery here
 | 
					                        // @fixme: hook for discovery here
 | 
				
			||||||
                        common_log(LOG_WARNING, sprintf('AtomPub post with unknown attention URI %s', $uri));
 | 
					                        common_log(LOG_WARNING, sprintf('AtomPub post with unknown attention URI %s', $uri));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user