Software /
code /
prosody
Diff
core/presencemanager.lua @ 966:d2692d427496
Fixed: Issue with presence error routing
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 07 Apr 2009 02:24:37 +0500 |
parent | 896:2c0b9e3c11c3 |
child | 1074:7798735be42b |
line wrap: on
line diff
--- a/core/presencemanager.lua Sun Apr 05 20:06:39 2009 +0100 +++ b/core/presencemanager.lua Tue Apr 07 02:24:37 2009 +0500 @@ -28,7 +28,7 @@ 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