Fix until int conversion
This commit is contained in:
parent
daf870fd75
commit
d4d12e1889
@ -138,7 +138,7 @@ function checkOperation(op) {
|
||||
if (action.type === 'block') {
|
||||
blockUpdate = {
|
||||
reason: action.reason,
|
||||
until: (Date.now() + action.duration) / 1000,
|
||||
until: Math.round((Date.now() + action.duration) / 1000),
|
||||
};
|
||||
Pushy.setBlockUpdate(blockUpdate);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user