Merge pull request #3366 from matrix-org/bwindels/cider-user-pill-text-fallback

New composer: put display name in user pill text fallback instead of mxid
This commit is contained in:
Bruno Windels 2019-08-30 16:03:28 +00:00 committed by GitHub
commit 63be16beff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}`;
} }
}, ""); }, "");
} }