put display name in user pill text fallback instead of mxid

This commit is contained in:
Bruno Windels 2019-08-30 11:51:29 +02:00
parent 4779880a94
commit b16f983a1f

View file

@ -54,7 +54,7 @@ export function textSerialize(model) {
return text + part.text; return text + part.text;
case "room-pill": case "room-pill":
case "user-pill": case "user-pill":
return text + `${part.resourceId}`; return text + `${part.text}`;
} }
}, ""); }, "");
} }