Browse Source

Fallback to the main server abuse addresses if empty

pull/653/head
Timothée Jaussoin 8 years ago
parent
commit
fc8c4f7ffd
  1. 2
      app/widgets/Chat/Chat.php

2
app/widgets/Chat/Chat.php

@ -589,7 +589,7 @@ class Chat extends \Movim\Widget\Base
$view->assign('conference', $cd->get($jid));
$mucinfo = $id->getJid(explodeJid($jid)['server']);
if ($mucinfo) {
if ($mucinfo && !empty($mucinfo->abuseaddresses)) {
$view->assign('info', $mucinfo);
}
} else {

Loading…
Cancel
Save