Skip to content

Commit 14e44d2

Browse files
committed
Fix two infinite recursion bugs
1 parent 1b0f4de commit 14e44d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/core-rt/NRtClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ std::future<NChannelPtr> NRtClient::joinChatAsync(
10881088
}
10891089

10901090
std::future<void> NRtClient::leaveChatAsync(const std::string& channelId) {
1091-
leaveChatAsync(channelId);
1091+
leaveChat(channelId);
10921092
auto promise = std::make_shared<std::promise<void>>();
10931093
promise->set_value();
10941094
return promise->get_future();
@@ -1215,7 +1215,7 @@ std::future<void> NRtClient::unfollowUsersAsync(const std::vector<std::string>&
12151215
}
12161216

12171217
std::future<void> NRtClient::updateStatusAsync(const std::string& status) {
1218-
updateStatusAsync(status);
1218+
updateStatus(status);
12191219
auto promise = std::make_shared<std::promise<void>>();
12201220
promise->set_value();
12211221
return promise->get_future();

0 commit comments

Comments
 (0)