Mercurial > eldonilo > lightstring
changeset 69:03ccf507ecda
Fix presence plugin.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 02 Feb 2012 01:56:28 +0100 |
parents | e1ccfb580228 |
children | fdd1ae375067 |
files | plugins/presence.js |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/presence.js +++ b/plugins/presence.js @@ -25,7 +25,7 @@ Lightstring.plugins['presence'] = { stanzas: { - presence: function(object) { + out: function(object) { if (object) { var payloads = ""; var attributs = ""; @@ -54,8 +54,8 @@ }, }, methods: { - presence: function(aObject) { - this.send(Lightstring.stanzas.presence(aObject)); + send: function(aObject) { + this.send(Lightstring.stanzas.presence.out(aObject)); } } };