Mercurial > eldonilo > lightstring
diff plugins/roster.js @ 108:5cb4733c5189
many api changes
author | Sonny Piers <sonny@fastmail.net> |
---|---|
date | Fri, 13 Jul 2012 15:26:18 +0200 (2012-07-13) |
parents | c06ec02217ee |
children |
line wrap: on
line diff
--- a/plugins/roster.js +++ b/plugins/roster.js @@ -73,6 +73,10 @@ Lightstring.plugins['roster'] = { if (subscription) contact.subscription = subscription; + var ask = item.getAttribute('ask'); + if (ask) + contact.ask = ask; + var groups = item.getElementsByTagName('group'); if(groups) { contact.groups = [];