contact status (wodXMPP)
by yonko, Tuesday, October 25, 2011, 16:36 (4776 days ago)
is it possible to find out someone's status without subscribe him? (i don't want to send authorization requests). thx.
Re: contact status
by woddrazen, Tuesday, October 25, 2011, 16:41 (4776 days ago) @ yonko
Hi Yonko,
Unfortunately you cannot do that. You need to subscribe to someone to find out that information.
It's same if you use wodXMPP or some other XMPP client.
Regards,
Drazen
Re: contact status
by yonko, Wednesday, October 26, 2011, 09:52 (4775 days ago) @ woddrazen
Hi Yonko,
Unfortunately you cannot do that. You need to subscribe to someone to find out that information.It's same if you use wodXMPP or some other XMPP client.
Regards,
Drazen
ok. It is possible to disable sending athorization requests? is it a matter of the server or the wodXMPP? Thx.
Re: contact status
by woddrazen, Wednesday, October 26, 2011, 10:01 (4775 days ago) @ yonko
Yonko,
You can disable this inside wodXMPP. In order to add someone to your list, you need to cal inside wodXMPP Subscribe Method.
If you don't implement this Method inside your code, user will not be able to send authorization requests to other users.
More help for Subscribe Method you can find here:
http://www.weonlydo.com/XMPP/Help/wodXMPP-XMPPContact-Subscribe.html
Also, authorization request from some other user is received inside ContactAuthRequest Event. If you set there Action = Deny all authorization requests send to you will be rejected automatically.
More help for ContactAuthRequest Event you can find here:
http://www.weonlydo.com/XMPP/Help/wodXMPP-ContactAuthRequest-Event.html
Drazen