simple-xmpp / node-simple-xmpp

Simple High Level NodeJS XMPP Client
301 stars 90 forks source link

maintain roster if requested #28

Open pathsny opened 11 years ago

pathsny commented 11 years ago

Hi, I'm not sure what the appropriate place to put this is so I thought I'd make an issue. In my local application I maintain, once connected, the roster of all the buddies and the presence of each resource that is broadcast. Now this results in additional state. If you think this might actually make sense in the library, I could push it back in here and give you a pull request. However, if the feeling is that this does not belong in this library, then I can avoid doing the work :)

silverbucket commented 11 years ago

Hi @pathsny - I'm not sure I understand what you mean, do you have a link to the code you're referring to? Do you mean, that, on connect, you send a roster request?

pathsny commented 11 years ago

Hi Nick, I dont have a link (because right now this is code that's intermingled with my own app that uses simple-xmpp.). But I can link you to the client code. https://github.com/pathsny/node-irc-relay/blob/master/modules/alert/gtalk.coffee. It maintains a roster as changes occur and keeps track of presences of resources of buddies.

On Thu, May 23, 2013 at 6:12 AM, Nick Jennings notifications@github.comwrote:

Hi @pathsny https://github.com/pathsny - I'm not sure I understand what you mean, do you have a link to the code you're referring to? Do you mean, that, on connect, you send a roster request?

— Reply to this email directly or view it on GitHubhttps://github.com/simple-xmpp/node-simple-xmpp/issues/28#issuecomment-18342128 .