Tigase broadcast user presence three times
May i know which plugin broadcast the user presence? We receive duplicate presence notification at the client.
--sm-plugins = +urn:xmpp:sm:3,+message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+roster-presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,-basic-filter,-domain-filter,-pep,-zlib,+com.1Chat,-jabber:iq:last
Added by Wojciech Kapcia over 3 years ago
presence plugin is responsible for broadcasting the presence. I would recommend removing all default plugins from
--sm-plugins configuration and only leaving there configurations that disable defaults or enable your own plugins, i.e. @--sm-plugins=-basic-filter,-domain-filter,-pep,-zlib,+com.ncs.onechat.OneChat,-jabber:iq:last@. Please also bare in mind that plugins process supported packets concurrently thus if there are a couple of plugins responsible for handling same packet type that produce the result this will result in packet duplication.
Added by Balakumar M over 3 years ago
Thanks for your reply. I am getting same behaviour with all plugin removed, 3 presence notification. When I add -presence and leave +roster-presence, notification reduced from 3 to 2. If I remove or minus roster-presence, no presence notification is received.