lib/nelumba-mongodb/person.rb
# Deliver an activity from within the server
Deliver an activity from within the server
Deliver an activity from within the server
def local_deliver!(activity)
      self.timeline.repost! activity if self.follow?(activity.actors.first)
      self.mentions.repost! activity if activity.mentions? self
    end
def local_deliver! ( activity ) self . timeline . repost! activity if self . follow? ( activity . actors . first ) self . mentions . repost! activity if activity . mentions? self end
Deliver an activity from within the server
Deliver an activity from within the server
# If we follow, add to the timeline # TODO: handle multiple authors... check for any in #follow? # Determine if it is a mention or reply and filter
activity