Not logged in. · Lost password · Register
Forum: agsXMPP RSS
cybermonk #1
Member since Apr 2006 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: How & Where does the MiniClientVB (2003) download the roaster after logging in?
How & Where does the MiniClientVB (2003) download the roster after logging in? I tried browsing through the entire code and could'nt find anything that downloaded the roster after log on.

I thought the server automatically gave the initial roster to the client which was handled by XmppCon_OnRosterItem, but I tried putting a breakpoint that code. And the execution never breaked in that handler, does'nt that mean XmppCon_OnRosterItem is never executed. But still I can see my friend on the roster list.

Sorry I am new to XMPP and VB, I know this may be a foolish question.
Alex #2
Member since Feb 2003 · 4445 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post

the library has a property AutoRoster. If this is set to true then the library gets the roster automatically on login. True is also the default value here. If you have some contacts on your list then you will get the OnRosterItem event.

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: agsXMPP RSS