Skip to content

Commit

Permalink
feat: mail provider backend
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Aug 30, 2024
1 parent 3dddc78 commit cd40204
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Provider/Command/MessageSend.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ public function __construct(
* @param array $options array of options reserved for future use
*
* @return LocalMessage
*
* @throws SendException on failure, check message for reason
*
*/
public function perform(string $userId, string $serviceId, IMessage $message, array $option = []): LocalMessage {
public function perform(string $userId, string $serviceId, IMessage $message, array $options = []): LocalMessage {
// find user mail account details
$account = $this->accountService->find($userId, (int)$serviceId);
// convert mail provider message to mail app message
Expand Down

0 comments on commit cd40204

Please sign in to comment.