aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_carbons.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_csi_simple,mod_carbons,mod_mam: Update comment about XEP-0353Kim Alvefur2021-01-081-1/+1
| | | | It went back to Deferred
* mod_carbons: Explicitly carbon XEP-0353: Jingle Message InitiationKim Alvefur2020-05-091-0/+5
|
* mod_carbons: Describe return types in a commentKim Alvefur2020-05-091-1/+1
| | | | For similarity with mod_mam, mod_csi_simple
* mod_carbons: Clarify handling of error bouncesKim Alvefur2020-05-061-1/+9
| | | | The :find bit was hard to understand, this should be clearer.
* mod_carbons: Check for and strip 'private' tag before stoppingKim Alvefur2020-04-271-2/+3
| | | | This was explicit previously
* mod_carbons: Don't copy messages that should not be copiedKim Alvefur2020-04-271-0/+1
| | | | The return statements were lost in d95e083931d1
* mod_carbons: Carbon anything that has been archived by the current userKim Alvefur2020-04-261-0/+6
| | | | | This ensures rules in mod_mam apply to some extent. Messages worth archiving are probably worth sending to other clients.
* mod_carbons: Carbon incoming message delivery failure reportsKim Alvefur2020-04-261-0/+4
| | | | Ensures that all your clients know about sent messages that failed.
* mod_carbons: Fix syntax error [luacheck]Kim Alvefur2020-04-261-1/+1
|
* mod_carbons: Refactor in new style (mod_mam/csi)Kim Alvefur2020-04-261-15/+31
|
* Merge 0.11->trunkKim Alvefur2020-04-261-1/+1
|\
| * mod_carbons: Fix handling of incoming MUC PMs #1540Kim Alvefur2020-04-261-1/+1
| | | | | | | | | | | | | | 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.
* | mod_carbons: Improve performance by delaying creation of carbon payloadKim Alvefur2019-11-301-11/+15
|/ | | | | | If there are no other sessions which also enabled carbons then the carbons wrapper is not used and the potentially expensive clone operation was a waste of cycles.
* mod_carbons: Synthesize a 'to' attribute for carbons of stanzas to "self" ↵Kim Alvefur2017-10-261-0/+3
| | | | (fixes #956)
* mod_carbons: Rename some variables for clarityKim Alvefur2016-12-081-4/+6
|
* mod_message, mod_carbons: Adjust event hook priorities to negative (core ↵Kim Alvefur2016-11-171-5/+5
| | | | modules should do this to make overriding from other modules easier)
* mod_carbons: Fix logic presendenceKim Alvefur2016-10-171-1/+1
|
* mod_carbons: Fix inverted logic (Thanks Ge0rg)}Kim Alvefur2016-09-231-1/+1
|
* mod_carbons: Compare with correct variableKim Alvefur2016-09-231-1/+1
|
* mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744)Kim Alvefur2016-09-231-2/+2
|
* plugins: Explicitly return to halt event propagation (session.send sometimes ↵Kim Alvefur2015-09-211-1/+2
| | | | does not return true)
* mod_carbons: Get full_ and bare_sessions from the prosody global [luacheck]Kim Alvefur2015-08-271-1/+1
|
* mod_carbons: Carbon chat messages or normal messages that have a bodyKim Alvefur2015-08-261-5/+3
|
* mod_carbons: Import XEP-0280 implementation from prosody-modules (sans ↵Kim Alvefur2015-01-161-0/+111
compat with older versions of the protocol)