FirebaseExtended / firechat

Real-time Chat powered by Firebase
https://firechat.firebaseapp.com
MIT License
2.41k stars 1.04k forks source link

fixes allowKick is not defined #91 #107

Closed ArshadAQ closed 6 years ago

ArshadAQ commented 6 years ago

This is in reference to issue #91

The following is the reason for the error "allowKick is not defined":

In the moderator options that are displayed in the context menu, allowKick is one of them and the template, "message-context-menu.html" references it. However, the allowKick parameter is not passed to the template under "showMessageContextMenu" in the function "_bindSuperuserUIEvents" in the file firechat-ui.js.

To solve this error, allowKick parameter is now passed to the template with a default value of false.

ArshadAQ commented 6 years ago

Is there anyone who can review/approve and/or merge this? @drtriumph @abehaskins @robertdimarco

Thanks.

robertdimarco commented 6 years ago

👍