Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
david.felix #1
Member since Jul 2015 · 23 posts
Group memberships: Members
Show profile · Link to this post
Subject: get images based on rosteritem id
Hi! I am able to retreive roster items from my server and i wanted to query user photo along with the roster jids. But when i retreive the jids, each control holding each id when clicked only return one person jid and only one person photo is returned. Please what can i do about this?
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
sorry, but I don't understand your question. Please elaborate.
The image is located o the vcard. To get an image a user has to set it to the vcard, and you have to request all the vcards of your users in order to be able to show the image.

Look also here in frmVcard:
https://gitlab.com/matrix-xmpp/samples/tree/master/vb/Mini…

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