lostintangent / spaces

Discover, share, and connect with developers across your favorite teams, classrooms and communities
https://aka.ms/vsls-spaces
MIT License
34 stars 3 forks source link

Add chat callback when user changes #113

Closed arjunattam closed 4 years ago

arjunattam commented 4 years ago

Currently, if the user logs in, chat is not initialized correctly -- leading to a message undefined issue. To fix this, user needs to reload the window.

To do: add a callback in the chatApi that will inform the chat extension that user data has changed (user has logged in/out) so that the chat extension can initialize/tear down as appropriate.