Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
bmurphy #1
User title: Manager
Member since Jul 2008 · 11 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
Subject: Reading History of Multi User Chat Room
I am authenticated ok and have joined a group chat room successfully and I see in the readxml event the history of the room I joined but I want to know how to consume that data in some kind of object handler ? The receipt of history upon joining the room does not seem to trigger the onmessage event and subsequent handler, is there another way ?

Thanks in advance.
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

each message of the history MUST trigger the OnMessage event.
Can you please post or attach your XML log?

Thanks,
Alex
Avatar
bmurphy #3
User title: Manager
Member since Jul 2008 · 11 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
You are right, the onmessage event should be triggered but I had left the "Handles XmppCon.OnMessage" statement of the end of the following line

Private Sub XmppCon_OnMessage(ByVal sender As Object, ByVal msg As agsXMPP.protocol.client.Message) Handles XmppCon.OnMessage

Thanks
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