- } else if (subscribers.contains(subscriberRloc)) {
- // If there is an entry already for this subscriberRloc, remove it, so that it gets the new
- // timestamp
- subscribers.remove(subscriberRloc);
+ } else if (subscribers.contains(subscriber)) {
+ // If there is an entry already for this subscriber, remove it, so that it gets the new timestamp
+ subscribers.remove(subscriber);