Matthew Wild
584285332d
mod_message: Fire event for groupchat messages sent to bare JID
...
This is becoming more common in XMPP as people experiment with a MIX-like
model where the bare JID joins a group chat instead of a full JID.
Specifically right now this is being added to help with processing
notifications from mod_muc_offline_delivery.
2021-09-22 13:31:13 +01:00
Kim Alvefur
36e448847f
mod_message: Clarify purpose of username field in offline message event
...
Added in 03714861f8fc but it did not appear to be used anywhere until
offline message "handling" was added to mod_mam in 8141645e3865
2021-09-12 21:31:04 +02:00
Kim Alvefur
85d3eb829b
mod_message: Stop advertising offline message support (mod_offline does that)
...
mod_offline also already advertises this feature, so it's added twice.
2021-03-24 16:36:00 +01:00
Kim Alvefur
3ec060fc0c
Fix spelling throughout the codebase [codespell]
2018-02-04 01:51:25 +01:00
Kim Alvefur
0c64cd26d6
mod_message: Include username in event for offline messages
2017-05-10 19:22:13 +02:00
Kim Alvefur
e863b13420
mod_message: Normalize indentation
2017-05-07 16:31:48 +02:00
Kim Alvefur
2a835d10df
mod_message: Remove TODO about privacy list (mod_privacy was removed)
2017-04-27 10:58:02 +02:00
Kim Alvefur
11dc53576d
mod_message: Return early on messages of type error (silences empty if branch warning) [luacheck]
2017-03-06 15:27:37 +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
Florian Zeitz
1d833bb807
Remove all trailing whitespace
2013-08-09 17:48:21 +02:00
Kim Alvefur
27dc3a5b9a
mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
2013-03-23 01:27:16 +01:00
Matthew Wild
2ab34e6019
mod_message: Don't treat a message as delivered ok if session.send() returns false
2012-07-22 16:59:55 +01:00
Matthew Wild
d37a37fb96
mod_message: Remove unused import of table.insert
2012-04-28 03:34:58 +01:00
Robert Hoelz
404f212f37
mod_message, mod_offline: Change message/offline/store -> message/offline/handle
2010-12-09 12:41:30 -06:00
Robert Hoelz
e448dd997f
mod_message: Send service-unavailable if offline storage fails.
2010-12-09 12:36:29 -06:00
Robert Hoelz
de4b6ceb33
core.offlinemanager, mod_message, mod_presence: Removed core.offlinemanager in favor of mod_offline.
2010-12-09 12:23:37 -06:00
Waqas Hussain
0cad37abd3
mod_message: Discard headline messages sent to offline full JIDs (to follow latest spec updates).
2010-07-26 02:18:03 +05:00
Matthew Wild
2bc0606453
Update copyright headers for 2010
2010-03-22 17:06:15 +00:00
Matthew Wild
e45610ce6e
Add copyright header to those files missing one
2009-07-10 03:08:38 +01:00
Matthew Wild
a01f4e6249
mod_message: Advertise offline message support as per XEP-0160 (thanks nolan)
2009-06-26 15:35:20 +01:00
Waqas Hussain
0316450238
mod_message, mod_presence: Maintain list of top resources. Less work in routing messages to bare JIDs. - #optimization
2009-06-26 08:54:22 +05:00
Matthew Wild
ca7b97cf41
mod_message: Require stanza lib to prevent traceback on error replies
2009-06-07 17:44:48 +01:00
Waqas Hussain
84bdea0764
mod_message: Fix global access
2009-06-02 21:22:24 +05:00
Waqas Hussain
dad6d48b8e
mod_message: A little cleanup
2009-06-01 18:15:28 +05:00
Waqas Hussain
01c198ae63
mod_message: mod_message now handles all cases
2009-06-01 18:11:01 +05:00
Waqas Hussain
7b020e95d5
mod_message: Added code to handle error groupchat and headline messages to bare JID
2009-06-01 17:52:02 +05:00
Waqas Hussain
c3c97029d5
mod_message: Move bare JID processing to it's own function
2009-06-01 17:36:33 +05:00
Waqas Hussain
b4359c6b35
mod_message, mod_iq: A little cleanup
2009-05-30 17:48:12 +05:00
Waqas Hussain
3761a13384
mod_message: Initial commit
2009-05-30 17:36:05 +05:00