work around mastodon mute bug (#2150)

This commit is contained in:
Konrad Pozniak 2021-05-09 18:37:41 +02:00 committed by GitHub
commit b156be6ded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 6 deletions

View file

@ -119,7 +119,7 @@ class AccountViewModel @Inject constructor(
}
}
fun muteAccount(notifications: Boolean, duration: Int) {
fun muteAccount(notifications: Boolean, duration: Int?) {
changeRelationship(RelationShipAction.MUTE, notifications, duration)
}