diff options
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/zeroconf/BonjourService.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/zeroconf/BonjourService.java b/src/net/java/sip/communicator/impl/protocol/zeroconf/BonjourService.java index bd1ed01..b8fe5dc 100644 --- a/src/net/java/sip/communicator/impl/protocol/zeroconf/BonjourService.java +++ b/src/net/java/sip/communicator/impl/protocol/zeroconf/BonjourService.java @@ -402,10 +402,14 @@ public class BonjourService extends Thread public void serviceRemoved(ServiceEvent event) { String name = event.getName(); - if (name.equals(id)) return; + if (name.equals(id)) + return; ContactZeroconfImpl contact = getContact(name, null); + if(contact == null) + return; + opSetPersPresence.changePresenceStatusForContact(contact, ZeroconfStatusEnum.OFFLINE); if (logger.isDebugEnabled()) |