Bugfix. Include nick in output messages
This commit is contained in:
parent
7cdc592ed9
commit
6fbb9463ee
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user