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. |
||
|---|---|---|
| .github | ||
| .gitlab | ||
| doc | ||
| example | ||
| lib | ||
| scripts | ||
| test | ||
| test_driver | ||
| web_test | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .metadata | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| analysis_options.yaml | ||
| dart_test.yaml | ||
| pubspec.yaml | ||
README.md
Matrix SDK
Matrix (matrix.org) SDK written in dart.
Native libraries
For E2EE, libolm must be provided.
Additionally, OpenSSL (libcrypto) must be provided on native platforms for E2EE.
For flutter apps you can easily import it with the flutter_olm and the flutter_openssl_crypto packages.
flutter pub add matrix
flutter pub add flutter_olm
flutter pub add flutter_openssl_crypto
Get started
See the API documentation for details: