Xmpp chat invisible presence
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm building a bot that monitor friends presences but doesn't need to be visible. I have tried to set presence using priority, show, type with all knowns values but without success. Is possibile to be invisibile and just receive presence notifications? Thanks! 回答1: See XEP-0126: Invisibility , section 3.1: <iq from='bilbo@tolkien.lit/shire' type='set' id='inv1'> <query xmlns='jabber:iq:privacy'> <list name='invisible'> <item action='deny' order='1'> <presence-out/> </item> </list> </query> </iq> 回答2: Have a look at the rfc . Presence has a