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.
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.