Kim Alvefur
e725335ed3
mod_carbons: Allow plugging into decision of whether to carbon-copy
...
Similar procedure as mod_csi_simple and mod_mam
4 years ago
Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
3 years ago
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.
6 years ago
Kim Alvefur
168197a05f
plugins: Update for namespace bump in XEP-0353 v0.4.0
4 years ago
Kim Alvefur
7f60bc8f3e
mod_carbons: Advertise following of recommended rules ( closes #1486 )
...
We're doing our best!
4 years ago
Kim Alvefur
9ae27ec538
mod_carbons: Reduce line count using new util.stanza attr method
4 years ago
Kim Alvefur
cb1282bfd0
mod_csi_simple,mod_carbons,mod_mam: Update comment about XEP-0353
...
It went back to Deferred
5 years ago
Kim Alvefur
4443c44e22
mod_carbons: Explicitly carbon XEP-0353: Jingle Message Initiation
6 years ago
Kim Alvefur
527d16b0b3
mod_carbons: Describe return types in a comment
...
For similarity with mod_mam, mod_csi_simple
6 years ago
Kim Alvefur
92c97b0361
mod_carbons: Clarify handling of error bounces
...
The :find bit was hard to understand, this should be clearer.
6 years ago
Kim Alvefur
b966c97690
mod_carbons: Check for and strip 'private' tag before stopping
...
This was explicit previously
6 years ago
Kim Alvefur
7041043802
mod_carbons: Don't copy messages that should not be copied
...
The return statements were lost in d95e083931d1
6 years ago
Kim Alvefur
608f1d1c58
mod_carbons: Carbon anything that has been archived by the current user
...
This ensures rules in mod_mam apply to some extent. Messages worth
archiving are probably worth sending to other clients.
6 years ago
Kim Alvefur
9e3ef1c01b
mod_carbons: Carbon incoming message delivery failure reports
...
Ensures that all your clients know about sent messages that failed.
6 years ago
Kim Alvefur
bec170ac73
mod_carbons: Fix syntax error [luacheck]
6 years ago
Kim Alvefur
fe36680fba
mod_carbons: Refactor in new style (mod_mam/csi)
6 years ago
Kim Alvefur
c02ddf92ec
mod_carbons: Improve performance by delaying creation of carbon payload
...
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.
6 years ago
Kim Alvefur
c42b40b07d
mod_carbons: Synthesize a 'to' attribute for carbons of stanzas to "self" ( fixes #956 )
8 years ago
Kim Alvefur
f9869506ed
mod_carbons: Rename some variables for clarity
9 years ago
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)
9 years ago
Kim Alvefur
bba90ea30a
mod_carbons: Fix logic presendence
9 years ago
Kim Alvefur
c86a00dec4
mod_carbons: Fix inverted logic (Thanks Ge0rg)}
9 years ago
Kim Alvefur
03d5fec392
mod_carbons: Compare with correct variable
9 years ago
Kim Alvefur
77cb2879ff
mod_carbons: Make the conditions for ignoring MUC PMs more specific ( fixes #744 )
9 years ago
Kim Alvefur
7cfa1513cc
plugins: Explicitly return to halt event propagation (session.send sometimes does not return true)
10 years ago
Kim Alvefur
e92f6bc9c1
mod_carbons: Get full_ and bare_sessions from the prosody global [luacheck]
10 years ago
Kim Alvefur
44a083cf43
mod_carbons: Carbon chat messages or normal messages that have a body
10 years ago
Kim Alvefur
89650879bb
mod_carbons: Import XEP-0280 implementation from prosody-modules (sans compat with older versions of the protocol)
11 years ago