Merge pull request #5951 from SimonBrandner/fix/room-pill-history
Fix saving room pill part to history
This commit is contained in:
commit
ed8b05b730
3 changed files with 19 additions and 12 deletions
|
@ -178,7 +178,7 @@ describe('editor/deserialize', function() {
|
|||
const parts = normalize(parseEvent(htmlMessage(html), createPartCreator()));
|
||||
expect(parts.length).toBe(3);
|
||||
expect(parts[0]).toStrictEqual({type: "plain", text: "Try "});
|
||||
expect(parts[1]).toStrictEqual({type: "room-pill", text: "#room:hs.tld"});
|
||||
expect(parts[1]).toStrictEqual({type: "room-pill", text: "#room:hs.tld", resourceId: "#room:hs.tld"});
|
||||
expect(parts[2]).toStrictEqual({type: "plain", text: "?"});
|
||||
});
|
||||
it('@room pill', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue