From 6d79687f8b75dc29e4bcd192a74ecf9c8f789afd Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 24 Sep 2007 18:28:28 +0000 Subject: Bug#3683: don't use (potentially long) user-supplied nickname in mDNS instance, it can break Salut activity advertisement --- diff --git a/NEWS b/NEWS index c651514..e76d0f7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +* #3683: don't use (potentially long) user-supplied nickname in mDNS instance + names, this can break Salut activity advertisement (smcv) * #3422: don't emit spurious CurrentActivityChanged signal when changing from no current activity to no current activity (smcv) * #3465: don't keep invite-only activities in the mesh view after we leave diff --git a/src/linklocal_plugin.py b/src/linklocal_plugin.py index 301687c..5646018 100644 --- a/src/linklocal_plugin.py +++ b/src/linklocal_plugin.py @@ -102,7 +102,7 @@ class LinkLocalPlugin(TelepathyPlugin): 'first-name': ' ', 'last-name': '%s' % self._owner.props.nick, 'jid': '%s@%s' % (khash, server), - 'published-name': '%s' % self._owner.props.nick, + 'published-name': '%s' % khash[:8], } def _find_existing_connection(self): -- cgit v0.9.1