Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
sandhya #1
User title: Developer
Member since Apr 2008 · 13 posts · Location: Hyderabad
Group memberships: Members
Show profile · Link to this post
Subject: Blocking a user sing agsXmpp
How can i block and unblock an user using agsXmpp API.Can you please suggest me a solution?
thanks in advance.
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you can do this with privacy lists:
XEP-0016: Privacy Lists

You can do the mosts tasks with the Privacy Manager in the agsXMPP.protocol.privacy namespace

Alex
Avatar
sandhya #3
User title: Developer
Member since Apr 2008 · 13 posts · Location: Hyderabad
Group memberships: Members
Show profile · Link to this post
I had done a sample with the help of forums.I am able to create a privacy list and add users to be blocked to that list.But next time when i login only i am able to see the list name but no user names added to that list who are blocked.Hence i am not able to know the users who are blocked by me.

can you please help me?
Avatar
Alex #4
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
do you activate your list on login or have a default list?

Please post your xml debug and code, so we can check it.

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