element-web/src/components/views
Richard van der Hoff 96567dad0d Fix NPE when we don't know the sender of an event
Fixes a bug introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/426.

Particularly when we are showing search results, we may not recognise the
sender of an event; attempting to create a MemberAvatar for it will lead to
null-reference errors.

Also a bit of untangling of the logic of needsSenderProfile. Since
https://github.com/matrix-org/matrix-react-sdk/pull/422,
EventTileType.needsSenderProfile was only being called on MessageEvents, and
therefore only returned true. It's a shame to see all this logic going into
EventTile rather than the individual EventTileTypes, but since it's there,
let's not leave the unused logic lying around in the EventTileType
implementations.
2016-08-25 16:55:09 +01:00
..
avatars reskindex and use sdk.getComponent for EmojiText 2016-08-11 07:55:12 +05:30
create_room update copyright for 2016 2016-01-07 04:06:52 +00:00
dialogs Just use _canceled 2016-08-11 10:06:22 +01:00
elements Add EmojiText component for emoji replacement. 2016-08-10 00:31:51 +05:30
login Refactor UI error effects 2016-08-03 15:59:17 +01:00
messages Fix NPE when we don't know the sender of an event 2016-08-25 16:55:09 +01:00
room_settings many stupid thinkos and bugfixes; make it work 2016-07-20 12:03:13 +01:00
rooms Fix NPE when we don't know the sender of an event 2016-08-25 16:55:09 +01:00
settings Add device_id to devices display 2016-08-11 16:24:09 +01:00
voip ForceUpdate the scrollpanel when the aux panel changes size 2016-03-09 15:56:54 +00:00