Group chats with no user avatar should return null for the room.avatar getter and not a random hero avatar. This could otherwise lead to confusion as it looks like this is a DM which is not the case. For the name we should also not just display the name of the invitor like in a DM even for group chats, but some more additional information. I found a String for invites quite useful here as this would name rooms without a m.room.name like this: "Invited by $senderName" which should be short enough. The alternative "You have been invited by $senderName" could be too long IMO. |
||
|---|---|---|
| .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: