X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=xmpp%2Fxmpp.php;h=076b7b130f7852a27c15ef70ea4ea52e58186dba;hb=c1b2989812506f8ce5f969c5cc9a709df7e546f4;hp=753ea0a505735337692185e69bb3dd0b57fd332f;hpb=e6b170da7de53df162fafdabbc1b00a31e709a3b;p=friendica-addons.git diff --git a/xmpp/xmpp.php b/xmpp/xmpp.php index 753ea0a5..076b7b13 100644 --- a/xmpp/xmpp.php +++ b/xmpp/xmpp.php @@ -69,7 +69,7 @@ function xmpp_plugin_settings(&$a,&$s) { $s .= '
'; } - if (!get_config("xmpp", "central_userbase") OR get_pconfig(local_user(),"xmpp","individual")) { + if (!get_config("xmpp", "central_userbase") || get_pconfig(local_user(),"xmpp","individual")) { $s .= ''; $s .= ' '; $s .= '
'; @@ -131,7 +131,7 @@ function xmpp_converse(&$a,&$s) { $a->page['htmlhead'] .= ''."\n"; $a->page['htmlhead'] .= ''."\n"; - if (get_config("xmpp", "central_userbase") AND !get_pconfig(local_user(),"xmpp","individual")) { + if (get_config("xmpp", "central_userbase") && !get_pconfig(local_user(),"xmpp","individual")) { $bosh_proxy = get_config("xmpp", "bosh_proxy"); $password = get_pconfig(local_user(), "xmpp", "password");