refactor: Update SDK

This commit is contained in:
Christian Pauly 2021-05-20 13:59:55 +02:00
commit 91f52956f0
26 changed files with 57 additions and 187 deletions

View file

@ -88,7 +88,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
final statusMsg = await store.getItem(SettingKeys.ownStatusMessage);
if (statusMsg?.isNotEmpty ?? false) {
Logs().v('Send cached status message: "$statusMsg"');
await client.sendPresence(
await client.setPresence(
client.userID,
PresenceType.online,
statusMsg: statusMsg,