Diff

core/presencemanager.lua @ 971:dd736391bd41

Merge
author Matthew Wild <mwild1@gmail.com>
date Wed, 08 Apr 2009 23:20:45 +0100
parent 966:d2692d427496
child 1074:7798735be42b
line wrap: on
line diff
--- a/core/presencemanager.lua	Wed Apr 08 23:20:22 2009 +0100
+++ b/core/presencemanager.lua	Wed Apr 08 23:20:45 2009 +0100
@@ -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