Before we have used the Event class for all state events while for invite rooms those actually were StrippedStateEvent objects. This created some problems like we needed to set a fake originServerTs (usually to DateTime.now()). Actually we don't need the additional keys for state events most of the time so just using StrippedStateEvent for all states and typecasting them to event where needed is not much of a hassle while we benefit from a more clear structure. This also now uses StrippedStateEvent as a base class for the User class which makes the User class more minimal as keys like event_id and origin_server_ts are no longer necessary. As we create a lot of fake User objects where we had to put fake values in it, it brings more benefits than problems to just get rid of those fields. |
||
|---|---|---|
| .. | ||
| encryption | ||
| matrix_api_lite | ||
| msc_extensions | ||
| src | ||
| encryption.dart | ||
| fake_matrix_api.dart | ||
| matrix.dart | ||
| matrix_api_lite.dart | ||