diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-02-03 11:47:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 11:47:55 +0300 |
commit | 7be6c657b042115a68d3c330f77e1b20588ef547 (patch) | |
tree | ecc267f1a349dfb7fa1da3024f40769fe32a76c4 | |
parent | ce1c6b9237bf77cc21da0806240175d5b1507bf4 (diff) | |
parent | b390e7216695bb8f000ef1e63f69751b5600234f (diff) |
Merge pull request #322 from sms77io/master
sms77io: added sender identifer for improved statistics on our side
-rw-r--r-- | lib/Service/Gateway/SMS/Provider/Sms77Io.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Service/Gateway/SMS/Provider/Sms77Io.php b/lib/Service/Gateway/SMS/Provider/Sms77Io.php index 08d985f..5a5cbfc 100644 --- a/lib/Service/Gateway/SMS/Provider/Sms77Io.php +++ b/lib/Service/Gateway/SMS/Provider/Sms77Io.php @@ -39,7 +39,7 @@ class Sms77Io implements IProvider { private $config; public function __construct(IClientService $clientService, - Sms77IoConfig $config) { + Sms77IoConfig $config) { $this->client = $clientService->newClient(); $this->config = $config; } @@ -59,6 +59,7 @@ class Sms77Io implements IProvider { 'p' => $apiKey, 'to' => $identifier, 'text' => $message, + 'sendWith' => 'nextcloud' ], ]); } catch (Exception $ex) { @@ -72,4 +73,4 @@ class Sms77Io implements IProvider { public function getConfig(): IProviderConfig { return $this->config; } -} +}
\ No newline at end of file |