You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of private channels resubscribe() returns the subscribeToPrivate functions return value without checking its value, exiting the function and thus the for loop in case of a successfull subscription too. If both channels is subscribed for only one of them will resubscribe.
It should check the error value and only return if the err is not nil, like default:.
The text was updated successfully, but these errors were encountered:
In case of private channels
resubscribe()
returns thesubscribeToPrivate
functions return value without checking its value, exiting the function and thus the for loop in case of a successfull subscription too. If both channels is subscribed for only one of them will resubscribe.It should check the error value and only return if the err is not
nil
, likedefault:
.The text was updated successfully, but these errors were encountered: