]> granicus.if.org Git - ejabberd/commit
mod_carboncopy: Don't copy MUC PMs
authorHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 19 Sep 2016 20:46:36 +0000 (22:46 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 19 Sep 2016 20:46:36 +0000 (22:46 +0200)
commite7787e2f335c44a5f88fea6d15d1e3a83ad55204
treea6cae60cdbda4e830980871dbe46d35d626b1495
parent5bcfcf4c5e74638960894fa2e7b9e57dfdfb62f3
mod_carboncopy: Don't copy MUC PMs

Carbon copies of private MUC message are generally not desired,
especially not when multiple clients joined the room with the same nick.
In this case, the MUC service usually sends PMs to all joined resources
anyway, so carbon-copying those PMs would create duplicates.
src/mod_carboncopy.erl