* strip mentions from forwarded messages fixes element-hq/element-web#30883 * call attachMentions() for empty m.mentions in forwarded messages As there is no EditorModel, attachMentions() currently does nothing * fix lint and typecheck * update test "should be navigable using arrow keys" * update test "forwards pin drop event" add empty mentions to expected content * add doc to transformEvent() & elaborate on attachMentions() * add test "strips mentions from forwarded messages" * fix lint * update source of `attachMentions()` import --------- Co-authored-by: David Baker <dbkr@users.noreply.github.com>
16 KiB
16 KiB