From 007d46364a55a5264c3b4cc0280952f2da910595 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Fri, 30 Mar 2007 18:42:58 +0000
Subject: [PATCH] zeroconf has no resource. Fake an empty one. fix a TB as
 Roster class access it.

---
 src/common/zeroconf/connection_zeroconf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py
index 148893c7f4..e322c83dc4 100644
--- a/src/common/zeroconf/connection_zeroconf.py
+++ b/src/common/zeroconf/connection_zeroconf.py
@@ -52,6 +52,7 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf):
 		# system username
 		self.username = None
 		self.name = name
+		self.server_resource = '' # zeroconf has no resource, fake an empty one
 		self.connected = 0 # offline
 		self.connection = None
 		self.gpg = None
-- 
GitLab