         return callback err if err
         @decorateResults data, callback
 
-  @fetchProfileFeed = secure (client, options = {}, callback)->
+  @fetchProfileFeed = secure (client, options, callback)->
+    [callback, options] = [options, callback]  unless callback
     {connection:{delegate}, context:{group}} = client
     return callback new Error "Origin is not defined" unless options.originId
 

JPost = require '../post'
{extend} = require 'underscore'
module.exports = class JStatusUpdate extends JPost
  {secure, race} = require 'bongo'
  {Relationship} = require 'jraphical'
  {permit} = require '../../group/permissionset'
  {once, extend} = require 'underscore'

        if err then return callback {error: "Not allowed to open this group"}
        else callback null, group

  @fetchGroupActivity = secure (client, options, callback)->
    [callback, options] = [options, callback]  unless callback
    @getCurrentGroup client, (err, group)=>
      if err then return callback err
      {to} = options
