This completely redoes the requestUser function. It now doesn't stop requesting a user forever just because of a network error. But redundant calls are still deduplicated, however their parameters are taken into account now. It also now only calls onUpdate and onRoomState when there is actually new state. This way apps can just listen to updates to rerender instead of having to implement the deduplication themselves. It also now doesn't treat member events without membership as "join" anymore. And lookup errors don't cause an empty user to get inserted into the room state. In general this should still request the profile from the server, if the displayname is unset in a leave event, but it should also allow the app to actually settle in the tests. |
||
|---|---|---|
| .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: