Mercurial > eldonilo > lightstring
diff plugins/presence.js @ 106:c06ec02217ee
many changes
author | Sonny Piers <sonny@fastmail.net> |
---|---|
date | Tue, 26 Jun 2012 12:02:14 +0200 |
parents | 7f4e43d6cb15 |
children | 5cb4733c5189 |
line wrap: on
line diff
old mode 100644 new mode 100755 --- a/plugins/presence.js +++ b/plugins/presence.js @@ -21,7 +21,15 @@ //Presence// http://xmpp.org/rfcs/rfc6121.html#presence //////////// (function() { - var legal_types = ['error', 'probe', 'subscribe', 'subscribed', 'unavailable', 'unsubscribe', 'unsubscribed']; + var legal_types = [ + 'error', + 'probe', + 'subscribe', + 'subscribed', + 'unavailable', + 'unsubscribe', + 'unsubscribed' + ]; Lightstring.plugins['presence'] = { stanzas: {