diff options
Diffstat (limited to 'Swiften/LinkLocal/LinkLocalRoster.cpp')
-rw-r--r-- | Swiften/LinkLocal/LinkLocalRoster.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/LinkLocalRoster.cpp b/Swiften/LinkLocal/LinkLocalRoster.cpp index aedea77..89bfa55 100644 --- a/Swiften/LinkLocal/LinkLocalRoster.cpp +++ b/Swiften/LinkLocal/LinkLocalRoster.cpp @@ -81,6 +81,9 @@ void LinkLocalRoster::handleServiceAdded(const DNSSDService::Service& service) { } void LinkLocalRoster::handleServiceRemoved(const DNSSDService::Service& service) { + if (selfService && *selfService == service) { + return; + } dnsSDService->stopResolvingService(service); services.erase(service); boost::shared_ptr<RosterPayload> roster(new RosterPayload()); |