Skip to content

Commit efdb3b1

Browse files
authored
Merge pull request #85 from yfre/fix_event_subscription
#84 fix subscription process
2 parents b0c2732 + 1d8dddf commit efdb3b1

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<plugin>
130130
<groupId>com.coveo</groupId>
131131
<artifactId>fmt-maven-plugin</artifactId>
132-
<version>2.6.0</version>
132+
<version>2.9</version>
133133
<executions>
134134
<execution>
135135
<goals>

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

-5
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)