pumpio: endless loop in comment completetion should be solved. Bug when registering should be solved as well.

This commit is contained in:
Michael Vogel 2013-09-27 23:33:35 +02:00
parent 1f8617d372
commit e912b1fd2e
3 changed files with 49 additions and 30 deletions

View file

@ -498,11 +498,12 @@ function jappixmini_script(&$a,&$s) {
// get nickname
$r = q("SELECT `username` FROM `user` WHERE `uid`=$uid");
$nickname = json_encode($r[0]["username"]);
$groupchats = get_config('jappixmini','groupchats');
// add javascript to start Jappix Mini
$a->page['htmlhead'] .= "<script type=\"text/javascript\">
jQuery(document).ready(function() {
jappixmini_addon_start('$server', '$username', '$proxy', '$bosh', $encrypt, '$password', $nickname, $contacts_json, '$contacts_hash', $autoapprove, $autosubscribe);
jappixmini_addon_start('$server', '$username', '$proxy', '$bosh', $encrypt, '$password', $nickname, $contacts_json, '$contacts_hash', $autoapprove, $autosubscribe, $groupchats);
});
</script>";