This commit is contained in:
barisusakli
2015-08-14 15:14:20 -04:00
parent 8333a5dcd9
commit 5e3e1f8781
7 changed files with 17 additions and 21 deletions

View File

@@ -92,7 +92,7 @@ app.cacheBuster = null;
switch(url_parts[0]) {
case 'user':
room = 'user/' + ajaxify.data.theirid;
room = 'user/' + ajaxify.data ? ajaxify.data.theirid : 0;
break;
case 'topic':
room = 'topic_' + url_parts[1];