element-web/test/components/views/messages
David Baker 1aa9860743
Fix the state shown for call in rooms (#10833)
* Fix the state shown for call in rooms

We split out a separate state for 'missed' separate to 'ended' which
caused confusion as the state got set to this when it shouldn't have,
so calls that wouldn't have been shown as missed were.

Remove the csutom call state and just have the missed state as a
variant of the ended state. Re-order the if clauses so they hit the
right ones. Also don't pass the callState variable into renderContent()
which is a class method and so has access to the same info anyway.

* Fix test

* i18n (reorder only)

* Fix test

* Fix types

* Add test for legacy call event tile
2023-05-15 08:37:40 +00:00
..
__snapshots__
shared
CallEvent-test.tsx
DateSeparator-test.tsx
DecryptionFailureBody-test.tsx
EncryptionEvent-test.tsx
JumpToDatePicker-test.tsx
LegacyCallEvent-test.tsx Fix the state shown for call in rooms (#10833) 2023-05-15 08:37:40 +00:00
MBeaconBody-test.tsx
MImageBody-test.tsx
MKeyVerificationConclusion-test.tsx
MLocationBody-test.tsx
MPollBody-test.tsx
MPollEndBody-test.tsx
MVideoBody-test.tsx
MessageActionBar-test.tsx
MessageEvent-test.tsx
RoomPredecessorTile-test.tsx
TextualBody-test.tsx