fix for missing 'self' variable in 'notifyTyping'

Hi,

I've tried to use 'notifyTyping' method and found that it uses 'self' variable inside but it is not declared and it leads to error. I've added declaration of it.

Thank you for the great client!