# HG changeset patch # User Waqas Hussain # Date 1266756185 -18000 # Node ID f9bc95aadc262c1c7445edc41070775ab3abae80 # Parent 9e8000c84feff3dec8a9b004706abc6e2fafee8e stanza_router: Make sure /self events are fired when the 'to' attribute is missing. diff -r 9e8000c84fef -r f9bc95aadc26 core/stanza_router.lua --- a/core/stanza_router.lua Sat Feb 20 00:52:28 2010 +0000 +++ b/core/stanza_router.lua Sun Feb 21 17:43:05 2010 +0500 @@ -140,6 +140,7 @@ to_type = '/host'; else to_type = '/bare'; + to_self = true; end end