The jappixmini addon #48

Merged
Leberwurscht merged 42 commits from master into master 2012-04-20 08:48:13 +02:00
Showing only changes of commit cc1f35c61b - Show all commits

View file

@ -149,6 +149,10 @@ function jappixmini_init(&$a) {
} catch (Exception $e) {
}
// do not return an address if user deactivated plugin
$activated = get_pconfig($uid, 'jappixmini', 'activate');
if (!$activated) killme();
// return the requested Jabber address
try {
$username = get_pconfig($uid, 'jappixmini', 'username');