This commit is contained in:
JC Brand 2020-03-24 12:49:35 +01:00
parent 967154d314
commit dc2eb30120

View File

@ -764,7 +764,7 @@ converse.plugins.add('converse-muc-views', {
if (!(existing_actors?.length)) { if (!(existing_actors?.length)) {
return result; return result;
} }
const actors = existing_actors.map(a => this.model.getOccupant(a)?.getDisplayName() || a.nick); const actors = existing_actors.map(a => this.model.getOccupant(a)?.getDisplayName() || a);
if (actors.length === 1) { if (actors.length === 1) {
if (state === 'composing') { if (state === 'composing') {
return `${result} ${__('%1$s is typing', actors[0])}\n`; return `${result} ${__('%1$s is typing', actors[0])}\n`;