Prosody is a modern XMPP communication server http://prosody.im
Find a file
Kim Alvefur 568aa79441 mod_smacks: Fix bounce of stanzas directed to full JID on unclean disconnect
Fixes #1758

Introduced in 1ea01660c79a

In e62025f949f9 to and from was inverted since it changed from acting on
a reply to acting on the original stanza (or a clone thereof)

Unsure of the purpose of this check, you don't usually send stanzas to
your own full JID. Perhaps guarding against routing loops?

The check was present in the original commit of mod_smacks,
prosody-modules rev 9a7671720dec
2022-05-27 12:05:47 +02:00
certs Add makefiles compatible with BSD make 2018-03-11 06:01:19 +01:00
core core.certmanager: Expand debug messages about cert lookups in index 2022-05-16 11:39:17 +02:00
doc Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
fallbacks fallbacks.bit: remove unused one-letter loop variables [luacheck] 2016-07-14 18:40:43 +08:00
man man/prosodyctl: Complete list of 'check' variants 2022-02-02 18:28:28 +01:00
net net.unbound: Adjust log level of error to error to error 2022-05-16 14:51:01 +02:00
plugins mod_smacks: Fix bounce of stanzas directed to full JID on unclean disconnect 2022-05-27 12:05:47 +02:00
spec util.jsonpointer: Add basic tests 2022-05-08 18:03:44 +02:00
teal-src util.jsonpointer: Fix off-by-one in array resolution 2022-05-08 18:04:50 +02:00
tools Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
util util.prosodyctl.check: Remove now redundant unbound config tweak 2022-05-26 13:03:58 +02:00
util-src Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
.busted util.hashes: Add test vectors from RFC 6070 for PBKDF2 (aka SCRAM Hi()) 2019-04-19 14:12:28 +02:00
.editorconfig editorconfig: We use tabs 2021-07-18 12:57:06 +02:00
.hgignore hgignore: Stop ignoring *.report, these are no longer created since switching to busted 2017-10-22 14:39:59 +02:00
.luacheckrc mod_c2s,mod_s2s: Disable and close port listeners before closing sessions 2022-02-11 21:36:53 +01:00
.luacov .luacov: Add config for luacov, exclude spec/ 2018-10-11 10:39:11 +01:00
.semgrep.yml lint: Add initial semgrep config 2021-01-18 17:28:34 +01:00
AUTHORS AUTHORS: A small update... 2013-03-31 13:43:12 +01:00
CHANGES CHANGES: Update to reflect 0.12.0 release 2022-03-19 11:41:05 +00:00
configure configure: Silence warning about echo -n [shellcheck] 2021-11-29 17:40:40 +01:00
CONTRIBUTING CONTRIBUTING: Add a short file referencing the online doc/contributing page 2019-04-03 01:09:21 +02:00
COPYING util.struct: Import Roberto 'struct' library v0.3 2022-03-04 15:03:02 +00:00
DEPENDS DEPENDS: Change link to https 2017-12-05 11:59:43 +01:00
GNUmakefile Merge config-updates+check-turn from timber 2022-03-04 16:33:41 +00:00
HACKERS doc/coding_style.{txt,md}: Update coding style guide 2019-03-14 16:13:14 +00:00
INSTALL util.dependencies: Refer to 'apt' instead of 'apt-get' 2022-02-13 17:27:29 +01:00
makefile make: Split up install targets to allow different subset 2022-02-13 16:53:56 +01:00
prosody prosody: Expose main thread on the 'prosody' global 2021-10-06 14:49:26 +02:00
prosody.cfg.lua.dist prosody.cfg.lua.dist: Remove comment about mod_*.lua above modules_enabled 2022-03-03 10:24:59 +00:00
prosodyctl prosodyctl: Pass server when listing (outdated) plugins (fix #1738) 2022-04-05 14:27:37 +02:00
README README: Reflow text to ~78 columns 2022-01-28 14:19:05 +01:00
TODO TODO: Remove statistics since this was done in 0.10 2019-01-21 21:30:54 +01:00

# Prosody IM Server

## Description

Prosody is a server for Jabber/XMPP written in Lua. It aims to be easy to use
and light on resources. For developers, it aims to give a flexible system on
which to rapidly develop added functionality or rapidly prototype new
protocols.

## Useful links

Homepage:        https://prosody.im/
Download:        https://prosody.im/download
Documentation:   https://prosody.im/doc/
Issue tracker:   https://issues.prosody.im/

Jabber/XMPP Chat:
               Address:
                 prosody@conference.prosody.im
               Web interface:
                 https://chat.prosody.im/

Mailing lists:
               User support and discussion:
                 https://groups.google.com/group/prosody-users

               Development discussion:
                 https://groups.google.com/group/prosody-dev

## Installation

See the accompanying INSTALL file for help on building Prosody from source.
Alternatively see our guide at https://prosody.im/doc/install