Commit graph

12 commits

Author SHA1 Message Date
Kim Alvefur
156f32c823 mod_carbons: Fix handling of incoming MUC PMs #1540
27f5db07bec9 fixed this wrong. The code is supposed to check if the
stanza is NOT sent to your bare JID. A MUC PM is always sent to your
full JID. Hopefully nobody sends MUC invites to full JIDs, because those
would be skipped by this as well.
2020-04-26 20:39:39 +02:00
Kim Alvefur
c42b40b07d mod_carbons: Synthesize a 'to' attribute for carbons of stanzas to "self" (fixes #956) 2017-10-26 22:22:14 +02:00
Kim Alvefur
f9869506ed mod_carbons: Rename some variables for clarity 2016-12-08 17:51:23 +01:00
Kim Alvefur
a89c193bb2 mod_message, mod_carbons: Adjust event hook priorities to negative (core modules should do this to make overriding from other modules easier) 2016-11-17 22:38:46 +01:00
Kim Alvefur
bba90ea30a mod_carbons: Fix logic presendence 2016-10-17 23:23:36 +02:00
Kim Alvefur
c86a00dec4 mod_carbons: Fix inverted logic (Thanks Ge0rg)} 2016-09-23 16:26:09 +02:00
Kim Alvefur
03d5fec392 mod_carbons: Compare with correct variable 2016-09-23 14:06:25 +02:00
Kim Alvefur
77cb2879ff mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744) 2016-09-23 14:03:37 +02:00
Kim Alvefur
7cfa1513cc plugins: Explicitly return to halt event propagation (session.send sometimes does not return true) 2015-09-21 23:06:22 +02:00
Kim Alvefur
e92f6bc9c1 mod_carbons: Get full_ and bare_sessions from the prosody global [luacheck] 2015-08-27 12:17:12 +02:00
Kim Alvefur
44a083cf43 mod_carbons: Carbon chat messages or normal messages that have a body 2015-08-26 17:35:41 +02:00
Kim Alvefur
89650879bb mod_carbons: Import XEP-0280 implementation from prosody-modules (sans compat with older versions of the protocol) 2015-01-16 14:02:14 +01:00