Skip to content

Commit

Permalink
fixup! Add imip processing
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Sep 9, 2022
1 parent 2a72eca commit 8f5db2f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/BackgroundJob/IMipMessageJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,10 @@ public function __construct(ITimeFactory $time,

// Run once per hour
$this->setInterval(60 * 60);
/**
* @todo remove checks with 24+
*/
if (defined('\OCP\BackgroundJob\IJob::TIME_SENSITIVE') && method_exists($this, 'setTimeSensitivity')) {
$this->setTimeSensitivity(self::TIME_SENSITIVE);
}
$this->iMipService = $iMipService;
}

protected function run($argument): void {
// iMIP is NC25+
if (!method_exists(IManager::class, 'handleImipReply')) {
return;
}
$this->iMipService->process();
}
}

0 comments on commit 8f5db2f

Please sign in to comment.