-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix routing messages to bare jids (#1512)
* Fix routing messages to bare jids The `Packet` has to be passed to mongoose_acc:strip in this case. Otherwise the recipient will get the original stanza from Acc which may not be correct. Simple case: 1. `User A` sends and IQ to MongooseIM 2. This IQ results in a `message` stanza to `User B` (bare jid) 3. Withtout this change `User B` recieves the IQ sent by `User A` * Add a test case for mongoose_acc:strip/2 usage in ejabberd_sm * Fix acc_e2e_SUITE teardown
- Loading branch information
1 parent
cf287ff
commit 340a926
Showing
4 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters