app/models/follow_request.rb
# Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
# TODO Cache this value.
Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
TODO Cache this value.
Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request . TODO Cache this value .
def friendship_outgoing?
    client.friendships_outgoing.attrs[:ids].include?(uid)
  rescue => e
    logger.warn "#{__method__} #{e.class} #{e.message} #{self.inspect}"
    false
  end
def friendship_outgoing? client . friendships_outgoing . attrs [ :ids ] . include? ( uid ) rescue => e logger . warn "#{__method__} #{e.class} #{e.message} #{self.inspect}" false end
Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request .