Bugfix. Should be possible to kick/ban/etc without providing a reason
This commit is contained in:
parent
89ef9a18c4
commit
f17edee827
|
@ -871,7 +871,8 @@ converse.plugins.add('converse-muc-views', {
|
|||
return;
|
||||
}
|
||||
const nick_or_jid = references.pop().value;
|
||||
if (!args.split(nick_or_jid, 2)[1].startsWith(' ')) {
|
||||
const reason = args.split(nick_or_jid, 2)[1];
|
||||
if (reason && !reason.startsWith(' ')) {
|
||||
this.showErrorMessage(__("Error: couldn't find a groupchat participant based on your arguments"));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user