lukejacksonn / react-slack-clone

Complete chat application, built with Chatkit | by @lukejacksonn
https://pusher.com/chatkit
MIT License
1.35k stars 262 forks source link

remove room #74

Open dleung25 opened 5 years ago

dleung25 commented 5 years ago

looking at #68 , I (tentatively) implemented a leave room button (I'm open to suggestions for a more aesthetic appearance and/orlocation) as shown react-slack

However, it doesn't update the room list on the right until another action's been taken

(Also noted that I don't think removeUserFromRoom is implemented properly or used in any context currently, so if anyone could help me out with this + concurrently updating the room that'd be great - otherwise I'll try to figure it out in the meantime)