   { bareRequest } = require './helper'
 
   @update = (args...) -> bareRequest 'updateAccount', args...
+
+  @removeParticipant = removeParticipantHandler
+
+  @addParticipant = addParticipantHandler
 
   do ->
     JAccount = require '../account'

# this file named as socialaccount while it is under social folder, because i
# dont want it to be listed first item while searching for account.coffe in
# sublime ~ CS

# SocialAccount
module.exports = class SocialAccount extends Base


      updateSocialAccount username

    JGroup.on 'MemberRemoved', (data) -> removeParticipantHandler data
    JGroup.on 'MemberAdded', (data) -> addParticipantHandler  data




participantHandler = (funcName, data) ->
