diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-04-07 02:24:37 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-04-07 02:24:37 +0500 |
commit | 6951dc1cd237457187bac50480d8002db5c55e79 (patch) | |
tree | 8fd59de50575a51f848dbcada04dfce6885503cc /core/presencemanager.lua | |
parent | a27b83955118295304b593d0f7874958b57d610a (diff) | |
download | prosody-6951dc1cd237457187bac50480d8002db5c55e79.tar.gz prosody-6951dc1cd237457187bac50480d8002db5c55e79.zip |
Fixed: Issue with presence error routing
Diffstat (limited to 'core/presencemanager.lua')
-rw-r--r-- | core/presencemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/presencemanager.lua b/core/presencemanager.lua index 29e684fb..db6bbf9a 100644 --- a/core/presencemanager.lua +++ b/core/presencemanager.lua @@ -28,7 +28,7 @@ module "presencemanager" function handle_presence(origin, stanza, from_bare, to_bare, core_route_stanza, inbound) local type = stanza.attr.type; - if type and type ~= "unavailable" then + if type and type ~= "unavailable" and type ~= "error" then if inbound then handle_inbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza); else |