Use addPlugin! (esp. XMPP folks should do this)

If you're using XMPP by setting $config['xmpp'][*] then you should do:

    addPlugin('Xmpp', $config['xmpp']);

because setting it directly in $config[''] won't do anything.

Also, default resource for XMPP is now 'gnusocial'. If you want something
more random, set it in your addPlugin config array.
This commit is contained in:
Mikael Nordfeldth
2013-10-30 12:25:01 +01:00
parent 8dafce34c3
commit e45edd6ae2
3 changed files with 1 additions and 39 deletions

View File

@@ -49,7 +49,7 @@ class XmppPlugin extends ImPlugin
public $server = null;
public $port = 5222;
public $user = 'update';
public $resource = null;
public $resource = 'gnusocial';
public $encryption = true;
public $password = null;
public $host = null; // only set if != server