* remove dynamic registration code

This commit is contained in:
Seth Call 2015-01-12 13:37:50 -06:00
parent edbd28d357
commit 9718cc7cca
2 changed files with 4 additions and 4 deletions

View File

@ -165,9 +165,9 @@
sessionVals.listen_link_text = 'Listen';
}
else {
sessionVals.listen_link_text = 'Broadcasting Offline';
sessionVals.listen_link_text = '';
}
var $row = $(context.JK.fillTemplate($activeSessionTemplate.html(), sessionVals));

View File

@ -804,7 +804,7 @@ module JamWebsockets
id = subscribe.id
type = subscribe.type
if id && id.length > 0 && type && type.length > 0
register_subscription(client, type, id)
#register_subscription(client, type, id)
else
@log.error("handle_subscribe: empty data #{subscribe}")
end
@ -814,7 +814,7 @@ module JamWebsockets
id = unsubscribe.id
type = unsubscribe.type
if id && id.length > 0 && type && type.length > 0
unregister_subscription(client, type, id)
#unregister_subscription(client, type, id)
else
@log.error("handle_subscribe: empty data #{unsubscribe}")
end