stanza_router: Add COMPAT comment for Pidgin workaround

Sun, 04 Oct 2009 16:31:27 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 04 Oct 2009 16:31:27 +0100
changeset 1887
e3c790060c03
parent 1886
d19c0a21bfb6
child 1888
562635baad36

stanza_router: Add COMPAT comment for Pidgin workaround

core/stanza_router.lua file | annotate | diff | comparison | revisions
--- a/core/stanza_router.lua	Sun Oct 04 16:05:11 2009 +0100
+++ b/core/stanza_router.lua	Sun Oct 04 16:31:27 2009 +0100
@@ -110,7 +110,7 @@
 			end
 			if h.events.fire_event(event, {origin = origin, stanza = stanza}) then return; end
 		end
-		if host and not hosts[host] then host = nil; end -- workaround for a Pidgin bug which sets 'to' to the SRV result
+		if host and not hosts[host] then host = nil; end -- COMPAT: workaround for a Pidgin bug which sets 'to' to the SRV result
 		modules_handle_stanza(host or origin.host or origin.to_host, origin, stanza);
 	end
 end

mercurial