From 80c27c9e7906ec203f9d679d2896e59d8c5ad9ff Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 21 Feb 2010 17:43:05 +0500 Subject: stanza_router: Make sure /self events are fired when the 'to' attribute is missing. --- core/stanza_router.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 71e40681..72ddebd1 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -140,6 +140,7 @@ function core_post_stanza(origin, stanza, preevents) to_type = '/host'; else to_type = '/bare'; + to_self = true; end end -- cgit v1.2.3