     like       : ActivityTickerLikeItem
     member     : ActivityTickerMemberItem
     user       : ActivityTickerAppUserItem
+    reply      : ActivityTickerCommentItem
 
   constructor: (options = {}, data) ->
     options.type = "activity-ticker-item"


  pistachio: ->
    {source, target, subject} = @getData()

    # i did something
    if  source.getId() is KD.whoami().getId()
      # if user liked his/her post
      if source.getId() is target.getId() then \
        return "{{> @avatar}} You liked your {{> @subj}}"
      else
        return "{{> @avatar}} You liked {{> @origin}}'s {{> @subj}}"

    # someone did something to you
    if target.getId() is KD.whoami().getId() then \
      return "{{> @avatar}} {{> @actor}} liked your {{> @subj}}"

    # if user liked his/her post
    if source.getId() is target.getId() then \
      return "{{> @avatar}} {{> @actor}} liked their {{> @subj}}"

    # rest
    return "{{> @avatar}} {{> @actor}} liked {{> @origin}}'s {{> @subj}}"

class ActivityTickerMemberItem extends ActivityTickerBaseItem
  constructor: (options = {}, data) ->

    {target} = @getData()

    # if current user did the activity
    if target.getId() is KD.whoami().getId()
      return "{{> @avatar}} You followed {{> @object}}"

    return "{{> @avatar}} {{> @actor}} followed {{> @object}}"
