matrix-dart-sdk/lib
Krille 5b46ae6e31
refactor: Use strippedstatevent as base for room state and user class
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.
2024-05-03 14:06:49 +02:00
..
encryption feat: famedly calls 2024-04-23 15:52:35 +05:30
matrix_api_lite fix: Don't fail sync if a presence event has an empty presence field 2024-04-26 13:08:01 +02:00
msc_extensions fix: remove msc3245 key from audio events 2024-04-12 15:53:13 +05:30
src refactor: Use strippedstatevent as base for room state and user class 2024-05-03 14:06:49 +02:00
encryption.dart refactor: nullsafe encryption 2021-09-30 12:58:37 +00:00
fake_matrix_api.dart chore: expose fake matrix api 2024-04-30 17:42:36 +05:30
matrix.dart chore: expose fake matrix api 2024-04-30 17:42:36 +05:30
matrix_api_lite.dart chore: merge api_lite and dart sdk 2024-03-25 17:22:05 +05:30