       JGroup = require './group'
       JGroup.some _id:$in:(rel.sourceId for rel in rels), options, callback
 
-  fetchGroupsWithPendingRequests:(options, callback)->
-    @fetchGroupsWithPending 'Request', 'pending', options, callback
 
   fetchGroupsWithPendingInvitations:(options, callback)->
     @fetchGroupsWithPending '', 'sent', options, callback
 
-  fetchMyGroupInvitationStatus: secure (client, slug, callback)->
-    return  unless @equals client.connection.delegate
-
-    JGroup = require './group'
-
-    JGroup.one { slug }, (err, group) ->
-      return callback err  if err
-
-      selector = sourceId: group.getId()
-
-      options = targetOptions: selector: status: 'pending'
-      @fetchInvitationRequests selector, options, (err, requests)=>
-        return callback err                if err
-        return callback null, 'requested'  if requests?[0]
-
-        options = targetOptions: selector: status: 'sent'
-        @fetchInvitations selector, options, (err, invites)=>
-          return callback err              if err
-          return callback null, 'invited'  if invites?[0]
-          return callback null, no
 
   cancelRequest: secure (client, slug, callback)->
     options = targetOptions: selector: status: 'pending'


  # temp dummy stuff ends

  fetchPrivateChannel:(callback)->
    require('bongo').fetchChannel @getPrivateChannelName(), callback

  getPrivateChannelName:-> "private-#{@getAt('pro file.nickname')}-private"


  modify: secure (client, fields, callback) ->


          (signature Object, Object, Function)
        someData:
          (signature Object, Object, Object, Function)
        count: [
          (signature Function)
          (signature Object, Function)
