contact status change - WeOnlyDo Discussion board

contact status change (General questions)

by sapna, Monday, July 20, 2009, 16:04 (5604 days ago)

hi.

is there anyway to differentiate between a contact who is already online and a contact who has just come online in the contact status change function called xmpp_contactstatuschange?

thanks
sapna

Re: contact status change

by woddrazen, Monday, July 20, 2009, 16:51 (5604 days ago) @ sapna

Sapna,


There is no difference. Both contacts will have Online status text.

So when some contact comes online StatusText Property will be changed from Offline to Online status text.


Drazen

Re: contact status change

by sapna, Tuesday, July 21, 2009, 08:43 (5603 days ago) @ woddrazen

hi.

also is there any way of storing my status so that on my next login i can directly put that up instead of putting my status as online by default?

Re: contact status change

by woddrazen, Tuesday, July 21, 2009, 09:57 (5603 days ago) @ sapna

Sapna,


Yes, you can use SetStatus Method to change your status to some already predefined status or custom message.

More help for SetStatus Method you can find here:
http://www.weonlydo.com/XMPP/Help/WODXMPPLib~wodXMPP~SetStatus.html


Drazen