michaelgira23 / Pear-Tutoring

Sharing the fruits of knowledge
https://peartutoring.net
MIT License
5 stars 1 forks source link

Add join and leave messages #36

Closed michaelgira23 closed 7 years ago

michaelgira23 commented 7 years ago

Have a "$user joined" and "$user left" when a user joins or leaves a chatroom. If the user is not logged in, it should probably say "An anonymous user joined" and "An anonymous user left".

nickbclifford commented 7 years ago

Working on this at the moment (https://github.com/michaelgira23/WWT-Hackathon-2016-Frontend/commit/fe29133b01cfeea5cbb982885fb9bf9ca2992c49). The only issue so far is that the Firebase auth service has some weird initial behavior, and so we're having difficulties distinguishing between an anonymous user and the auth service not being initialized yet.

nickbclifford commented 7 years ago

Completed in https://github.com/michaelgira23/WWT-Hackathon-2016-Frontend/commit/4a9aa92b9b771e876a3b58ebadc3cc31ece9f08a.