Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/PresenceService
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-07-26 16:00:28 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-26 16:00:28 (GMT)
commitd778d45b13eb261d623d426097bf36bf6470a398 (patch)
tree3d59bdfaa215a27b33065b9dc75e6a03a6220ec6 /shell/PresenceService
parente1928878f9fd7bba493b10eacc726a470f531086 (diff)
Load the current page when joining an active.
Get back page sharing to work.
Diffstat (limited to 'shell/PresenceService')
-rw-r--r--shell/PresenceService/PresenceService.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/PresenceService/PresenceService.py b/shell/PresenceService/PresenceService.py
index 86377b8..f17e1c6 100644
--- a/shell/PresenceService/PresenceService.py
+++ b/shell/PresenceService/PresenceService.py
@@ -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))