Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
diron #1
Member since Oct 2011 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: How to set my own presence to 'Invisible'?
Hi, how can I set my own presence to 'Invisible'? I see the enum "PresenceType" has the value 'Invisible'. But sendPresence() method does not take this type as a parameter.
How can I do that?
Thank you!
Avatar
Alex #2
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
There is no invisible presence type in XMPP. But you can achieve invisibility with privacy lists in XMPP.
XEP-0126: Invisibility explains this.

In MatriX use Matrix.Xmpp.Client.PrivacyManager for this.

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