Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
renish #1
Member since May 2015 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: Offline Message Count in agsXMPP for OpenFire 3.9.3 server
   Below is my code which im using for getting offline message count
but im always getting res as nothing in result.        

  1. Dim offLineIQ As IQ = New IQ(IqType.get)
  2. offLineIQ.Id = "OfflineIQ12"
  3. Dim ele As Element = New Element()
  4. ele.TagName = "query"
  5. ele.SetNamespace("http://jabber.org/protocol/disco#info")
  6. ele.SetAttribute("node", "http://jabber.org/protocol/offline")
  7. offLineIQ.Query = ele
  8. Dim iqGrab As New IqGrabber(xmppClient)
  9. Dim res As IQ = iqGrab.SendIq(offLineIQ)
This post was edited on 2015-05-10, 20:17 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
please post your complete xml log.
Are you sure that your server supports this functionality?

Alex
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