           ]
 
           socialapi.emit "ChannelRegistered-#{name}", brokerChannel
+
+  generateChannelName = ({name, typeConstant, groupName}) ->
+    return "socialapi.#{groupName}-#{typeConstant}-#{name}"
 
   message:
     edit   :(args...)-> messageApiMessageResFunc 'edit', args...

        channelName: slug
        isExclusive: yes

      channelName   = "socialapi.#{slug}-group-#{slug}"
      brokerChannel = KD.remote.subscribe channelName, subscriptionData
      @forwardMessageEvents brokerChannel, this, ["MessageAdded", "MessageRemoved"]
      @openedChannels[name] = brokerChannel


    getCurrentGroup (group)->
      for socialApiChannel in socialApiChannels
        channelName = generateChannelName socialApiChannel
        continue  if socialapi.openedChannels[channelName]
        socialapi.openedChannels[channelName] = {} # placeholder to avoid duplicate registration

        subscriptionData =
          serviceType: 'socialapi'
          group      : group.slug
          channelType: socialApiChannel.typeConstant
          channelName: channelName
          isExclusive: yes

