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
Disconnecting from typing listeners via the function returned from getTyping does not appear to work. The old CB will still receive events.
// Stop watching the old channelif(this.currentChannelStopTypingUpdatesDisconnectFunction){console.log('disconnecting existing handler')this.currentChannelStopTypingUpdatesDisconnectFunction();}// Watch only the new channelthis.currentChannelStopTypingUpdatesDisconnectFunction=channel.getTyping((typing)=>{console.log('got typing events');});
To reproduce:
Join the same channel
Have the user start typing
Call disconnect
Callback still keeps firing
The text was updated successfully, but these errors were encountered:
Disconnecting from typing listeners via the function returned from
getTyping
does not appear to work. The old CB will still receive events.To reproduce:
The text was updated successfully, but these errors were encountered: