Load the current page when joining an active.

Get back page sharing to work.
This commit is contained in:
Marco Pesenti Gritti
2006-07-26 18:00:28 +02:00
parent e1928878f9
commit d778d45b13
4 changed files with 29 additions and 21 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ class PresenceService(object):
real_name = Service.compose_service_name(owner_nick, activity_id)
if address and type(address) != type(u""):
raise ValueError("address must be a unicode string.")
if address == None or not len(address):
if address == None and stype.endswith('_udp'):
# Use random currently unassigned multicast address
address = u"232.%d.%d.%d" % (random.randint(0, 254), random.randint(1, 254),
random.randint(1, 254))