Not logged in. · Lost password · Register
Forum: MatriX RSS
wmorrison #1
Member since Dec 2015 · 50 posts · Location: Kingston, Jamaica
Group memberships: Members
Show profile · Link to this post
Subject: Checking Jid existence

I need to find a way to check if a jid exist on the server.  I have been searching for a method in MatriX that can facilitate this request.  If I am able find out I would like to auto subscribe to that jid while I added them to my roster.

This post was edited on 2015-12-29, 10:07 by Alex.
Alex #2
Member since Feb 2003 · 4388 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you have to try to register the jid, if it exists it returns an error. Usually there is nothing like that for normal and new users in XMPP. If a server would tell you which Jids exist it would be easy to generate Jig lists for spamming.

Would be better to write a Web API which checks it directly against the database of your server.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS