Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nick2jId in MUC #5

Open
onsails opened this issue Jul 21, 2009 · 1 comment
Open

Nick2jId in MUC #5

onsails opened this issue Jul 21, 2009 · 1 comment

Comments

@onsails
Copy link

onsails commented Jul 21, 2009

I has not found method for finding jID by Nick in Jabber conference. Does this method exists?

@onsails
Copy link
Author

onsails commented Jul 21, 2009

Here is some little resolution for this problem:

module Jabber
class Presence
def jid
jid = false
begin
jid = x("http://jabber.org/protocol/muc#user").items.first.jid
rescue
end
jid
end
end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant