Automod work vol 3
This commit is contained in:
parent
0e9f65e0d5
commit
0f0728bc1c
18 changed files with 133 additions and 38 deletions
|
@ -7,8 +7,10 @@ export function getMatchingRecentActions(
|
|||
type: RecentActionType,
|
||||
identifier: string | null,
|
||||
since: number,
|
||||
to: number,
|
||||
to?: number,
|
||||
) {
|
||||
to = to || Date.now();
|
||||
|
||||
return pluginData.state.recentActions.filter(action => {
|
||||
return (
|
||||
action.type === type &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue