Browse Source

- Fix the node creation and Group detection

pull/16/head
Jaussoin Timothée 12 years ago
parent
commit
829663ca28
  1. 3
      app/widgets/Explore/Explore.php
  2. 2
      app/widgets/ServerNodes/ServerNodes.php

3
app/widgets/Explore/Explore.php

@ -55,6 +55,9 @@ class Explore extends WidgetCommon {
case 'discussion':
$cat = 'chatroom';
break;
case 'chat':
$cat = 'chatroom';
break;
case 'pubsub':
$cat = 'pubsub';
break;

2
app/widgets/ServerNodes/ServerNodes.php

@ -46,7 +46,7 @@ class ServerNodes extends WidgetCommon
list($type) = explode('.', $server);
if($type == 'pubsub') {
if(!in_array($type, array('conference', 'muc', 'discussion', 'chat'))) {
$head = '
<a
class="button icon add color green"

Loading…
Cancel
Save