Skip to content

Commit 66ec04c

Browse files
committed
Thread subscription fix
1 parent 5090f67 commit 66ec04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PrivMXEndpointSwiftNative/NativeThreadApiWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ ResultWithError<nullptr_t> NativeThreadApiWrapper::updateMessage(const std::stri
349349
ResultWithError<SubscriptionIdVector> NativeThreadApiWrapper::subscribeFor(const SubscriptionQueryVector& subscriptionQueries){
350350
ResultWithError<SubscriptionIdVector> res;
351351
try {
352-
getapi()->subscribeFor(subscriptionQueries);
352+
res.result = getapi()->subscribeFor(subscriptionQueries);
353353
}catch(core::Exception& err){
354354
res.error = {
355355
.name = err.getName(),

0 commit comments

Comments
 (0)