Now tell me that while adding new entries in the roster, how can we make a check that it is not a dummy entry i.e the user is registered in jabberd Server…
Let me know if it needs more explanation,
thanx,
Sohail Qureshi
Now tell me that while adding new entries in the roster, how can we make a check that it is not a dummy entry i.e the user is registered in jabberd Server…
Let me know if it needs more explanation,
thanx,
Sohail Qureshi
Sohail,
I couldn’'t found a specification on how the servers must react when you ask for a Presence Subscriptions of a non-existent users. Therefore, different servers may answer with different error messages when the user does not exist. Moreover, you may never get an error message if you subscribe to a user whose id refers to a non-existent server!.
In summary, in order to find out if a user exists or not you must listen for possible error messages. If you know beforehand the server that you will use then you could listen for a specific type of error message.
Regards,
– Gato