Skip to content

Commit 0201d9a

Browse files
author
Eugen Freiter
committed
fix HAP subscription process
1 parent d2b2f4f commit 0201d9a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/io/github/hapjava/impl/connections/SubscriptionManager.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ public synchronized void addSubscription(
4949
LOGGER.info(
5050
"Added subscription to " + characteristic.getClass() + " for " + connection.hashCode());
5151
}
52-
try {
53-
connection.outOfBand(new EventController().getMessage(aid, iid, characteristic));
54-
} catch (Exception e) {
55-
LOGGER.error("Could not send initial state in response to subscribe event", e);
56-
}
5752
}
5853

5954
public synchronized void removeSubscription(

0 commit comments

Comments
 (0)