Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
ramtin #1
User title: RamTin
Member since Mar 2013 · 26 posts
Group memberships: Members
Show profile · Link to this post
Subject: show client icon
hi , how can i get client icons? C# ,agsxmpp ,

Ex:
  1. <presence from="nja@localhost/home" to="bt@localhost/Bu1" xml:lang="en" ver="1.0 beta  (en)"><c xmlns="http://jabber.org/protocol/caps" node="home/caps" ver="LVZaelz9pBv75QOa12wNaTjzS6o=" hash="sha-1"/></presence>
This post was edited on 2014-02-18, 10:09 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you should get the client and client version with service discovery.

Here is an example from XEP-0030:

  1. <iq type='get'
  2.     from='juliet@capulet.com/balcony'
  3.     to='romeo@montague.net/orchard'
  4.     id='info4'>
  5.  <query xmlns='http://jabber.org/protocol/disco#info'/>
  6. </iq>
  7.  
  8. <iq type='result'
  9.     from='romeo@montague.net/orchard'
  10.     to='juliet@capulet.com/balcony'
  11.     id='info4'>
  12.  <query xmlns='http://jabber.org/protocol/disco#info'>
  13.  
  14.     <!-- starts here -->
  15.     <identity
  16.         category='client'
  17.         type='pc'
  18.         name='Gabber'/>
  19.     <!-- ends here -->
  20.  
  21.     <feature var='jabber:iq:time'/>
  22.     <feature var='jabber:iq:version'/>
  23.  </query>
  24. </iq>
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