\r
channel_names = ev.params.join(' ').split(',');\r
\r
- $.each(channel_names, function (index, channel_name) {\r
+ $.each(channel_names, function (index, channel_name_key) {\r
+ // We may have a channel key so split it off\r
+ var spli = channel_name_key.split(' '),\r
+ channel_name = spli[0],\r
+ channel_key = spli[1] || '';\r
+\r
// Trim any whitespace off the name\r
channel_name = channel_name.trim();\r
\r
_kiwi.app.panels.add(channel);\r
}\r
\r
- _kiwi.gateway.join(channel_name);\r
+ _kiwi.gateway.join(channel_name, channel_key);\r
});\r
\r
if (channel) channel.view.show();\r