Add back the ip check, ipv6 needs to be disabled in the avahi daemon
config for this to work though
This commit is contained in:
parent
8444bd63d6
commit
51c08af67c
@ -338,8 +338,7 @@ class PresenceService(object):
|
|||||||
owner_nick = env.get_nick_name()
|
owner_nick = env.get_nick_name()
|
||||||
source_addr = service.get_source_address()
|
source_addr = service.get_source_address()
|
||||||
objid = self._get_next_object_id()
|
objid = self._get_next_object_id()
|
||||||
# FIXME put this back: source_addr in self._local_addrs.values()
|
if name == owner_nick and source_addr in self._local_addrs.values():
|
||||||
if name == owner_nick:
|
|
||||||
buddy = Buddy.Owner(self._bus_name, objid, service)
|
buddy = Buddy.Owner(self._bus_name, objid, service)
|
||||||
self._owner = buddy
|
self._owner = buddy
|
||||||
logging.debug("Owner is '%s'." % name)
|
logging.debug("Owner is '%s'." % name)
|
||||||
|
@ -4,6 +4,7 @@ import logging
|
|||||||
import sugar.env
|
import sugar.env
|
||||||
from PresenceService import PresenceService
|
from PresenceService import PresenceService
|
||||||
|
|
||||||
|
# FIXME this looks like duplicated
|
||||||
level = sugar.env.get_logging_level()
|
level = sugar.env.get_logging_level()
|
||||||
if level == 'debug':
|
if level == 'debug':
|
||||||
logging.basicConfig(level=logging.DEBUG,
|
logging.basicConfig(level=logging.DEBUG,
|
||||||
|
Loading…
Reference in New Issue
Block a user