mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix #1030 - Delay for timed mute sent in ms
This commit is contained in:
parent
57decc15bd
commit
9a8d359592
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ public class MastodonHelper {
|
||||||
accountId = account.id;
|
accountId = account.id;
|
||||||
acct = account.acct;
|
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 -> {
|
.observe((LifecycleOwner) context, relationShip -> {
|
||||||
if (listener != null) {
|
if (listener != null) {
|
||||||
listener.onTimedMute(relationShip);
|
listener.onTimedMute(relationShip);
|
||||||
|
|
Loading…
Reference in a new issue