Implement message for locked groups.
This commit is contained in:
+3
-1
@@ -419,11 +419,13 @@ ServerConnection.prototype.chat = function(username, kind, message) {
|
||||
*
|
||||
* @param {string} kind - One of "clearchat", "lock", "unlock", "record or
|
||||
* "unrecord".
|
||||
* @param {string} [message]
|
||||
*/
|
||||
ServerConnection.prototype.groupAction = function(kind) {
|
||||
ServerConnection.prototype.groupAction = function(kind, message) {
|
||||
this.send({
|
||||
type: 'groupaction',
|
||||
kind: kind,
|
||||
value: message,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -1072,7 +1072,7 @@ function handleInput() {
|
||||
displayError("You're not an operator");
|
||||
return;
|
||||
}
|
||||
serverConnection.groupAction(cmd.slice(1));
|
||||
serverConnection.groupAction(cmd.slice(1), rest);
|
||||
return;
|
||||
case '/record':
|
||||
case '/unrecord':
|
||||
|
||||
Reference in New Issue
Block a user