Commit 6fbb9463 authored by JC Brand's avatar JC Brand

Bugfix. Include nick in output messages

parent 7cdc592e
...@@ -2064,13 +2064,13 @@ converse.plugins.add('converse-muc', { ...@@ -2064,13 +2064,13 @@ converse.plugins.add('converse-muc', {
} else if (code === '303') { } else if (code === '303') {
return ___("%1$s\'s nickname has changed", nick); return ___("%1$s\'s nickname has changed", nick);
} else if (code === '333') { } 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') { } else if (code === '307') {
return actor ? __("%1$s has been kicked out by %2$s", nick, actor) : __("%1$s has been kicked out", nick); return actor ? __("%1$s has been kicked out by %2$s", nick, actor) : __("%1$s has been kicked out", nick);
} else if (code === '321') { } 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') { } 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);
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment