Commit 09e34353 authored by JC Brand's avatar JC Brand

Make sure auto_subscribe has a boolean value.

parent 069310c6
...@@ -1478,7 +1478,7 @@ ...@@ -1478,7 +1478,7 @@
this.username = chatdata.attr('username'); this.username = chatdata.attr('username');
this.fullname = chatdata.attr('fullname'); this.fullname = chatdata.attr('fullname');
this.auto_subscribe = chatdata.attr('auto_subscribe'); this.auto_subscribe = chatdata.attr('auto_subscribe') === "True" || false;
$(document).unbind('jarnxmpp.connected'); $(document).unbind('jarnxmpp.connected');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment