Skip to content

Commit d8cfcf3

Browse files
committed
fixup! fix: ensure drafts folder exists
1 parent 00492f5 commit d8cfcf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Db/LocalMessageMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ public function findDueDrafts(int $time): array {
164164
->where(
165165
$qb->expr()->isNull('send_at'),
166166
$qb->expr()->eq('type', $qb->createNamedParameter(LocalMessage::TYPE_DRAFT, IQueryBuilder::PARAM_INT), IQueryBuilder::PARAM_INT),
167-
/*$qb->expr()->lte('updated_at', $qb->createNamedParameter($time - 300, IQueryBuilder::PARAM_INT), IQueryBuilder::PARAM_INT),
167+
$qb->expr()->lte('updated_at', $qb->createNamedParameter($time - 300, IQueryBuilder::PARAM_INT), IQueryBuilder::PARAM_INT),
168168
$qb->expr()->orX(
169169
$qb->expr()->isNull('failed'),
170170
$qb->expr()->eq('failed', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL), IQueryBuilder::PARAM_BOOL),
171-
)*/
171+
)
172172
)
173173
->orderBy('updated_at', 'asc')
174174
->orderBy('account_id', 'asc');

0 commit comments

Comments
 (0)