Fix #1030 - Delay for timed mute sent in ms

This commit is contained in:
Thomas 2024-01-30 16:48:58 +01:00
parent 57decc15bd
commit 9a8d359592

View file

@ -499,7 +499,7 @@ public class MastodonHelper {
accountId = account.id;
acct = account.acct;
}
accountsVM.mute(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, accountId, true, (int) delayToPass)
accountsVM.mute(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, accountId, true, (int) delayToPass*1000)
.observe((LifecycleOwner) context, relationShip -> {
if (listener != null) {
listener.onTimedMute(relationShip);