Bugfix. Include nick in output messages

This commit is contained in:
JC Brand 2020-08-12 14:39:10 +02:00
parent 7cdc592ed9
commit 6fbb9463ee

View File

@ -2064,13 +2064,13 @@ converse.plugins.add('converse-muc', {
} else if (code === '303') {
return ___("%1$s\'s nickname has changed", nick);
} else if (code === '333') {
return ___("%1$s has exited the room due to a technical issue");
return ___("%1$s has exited the room due to a technical issue", nick);
} else if (code === '307') {
return actor ? __("%1$s has been kicked out by %2$s", nick, actor) : __("%1$s has been kicked out", nick);
} else if (code === '321') {
return __("%1$s has been removed because of an affiliation change");
return __("%1$s has been removed because of an affiliation change", nick);
} else if (code === '322') {
return ___("%1$s has been removed for not being a member");
return ___("%1$s has been removed for not being a member", nick);
}
},