larvalabs / breaker

Chat rooms for subreddits.
http://www.breakerapp.com
20 stars 3 forks source link

User mod status not changing in realtime anymore #15

Open megamattron opened 8 years ago

megamattron commented 8 years ago

I think the reselect changes might have broken this? I can reproduce this my toggling mod status, confirming the event is received by the client, but no change is made in the UI.

Reminder, you can change mode status via the admin only url that looks like this: https://127.0.0.1:9443/application/makemod?roomname=android&username=megamatt2000&mod=true

megamattron commented 8 years ago

Also possibly related, duplicate online status after user is made a mod (this is pretty soon after I created the room):

breaker

rickhanlonii commented 8 years ago

Ah, so this broke when I added Reselect. It looks like the selector for getting mods is not using the moderators list on the room object (see here).

And here's how we were doing it before.

megamattron commented 8 years ago

I think there's also some bugs in the online status indicator related to this.