]> granicus.if.org Git - ejabberd/commit
mod_caps: Only store CAPS if contact is subscribed
authorHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 29 Jan 2018 00:07:38 +0000 (01:07 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 29 Jan 2018 00:07:38 +0000 (01:07 +0100)
commitf31782a252a776a5415367126c4dc6bd5f426c6a
tree949c5bb217e67e68ad6599456747126642051d05
parentd0af61f488ecc01fad82ecdaf2e1e57cff21a282
mod_caps: Only store CAPS if contact is subscribed

If a user is subscribed to a contact but not vice versa, don't store the
contact's CAPS.  This makes sure no PEP items are leaked to the contact.
src/mod_caps.erl