We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1eb995 commit 663f323Copy full SHA for 663f323
websocket-rails-client/channel.cpp
@@ -123,7 +123,7 @@ void Channel::setCallbacks(map_vec_cb_func callbacks) {
123
124
125
bool Channel::isPrivate() {
126
- return this->isPrivate();
+ return this->is_private;
127
}
128
129
websocket-rails-client/websocket_rails.cpp
@@ -318,7 +318,7 @@ bool WebsocketRails::connectionStale() {
318
319
std::vector<Channel> WebsocketRails::reconnectChannels() {
320
std::vector<Channel> results;
321
- for (auto& x: this->channel_queue) {
+ for(auto& x: this->channel_queue) {
322
Channel channel = x.second;
323
map_vec_cb_func callbacks = channel.getCallbacks();
324
channel.destroy();
0 commit comments