diff options
author | André Matthies <matthiez@gmail.com> | 2020-01-28 17:35:22 +0300 |
---|---|---|
committer | André Matthies <matthiez@gmail.com> | 2020-02-03 11:22:13 +0300 |
commit | b390e7216695bb8f000ef1e63f69751b5600234f (patch) | |
tree | ecc267f1a349dfb7fa1da3024f40769fe32a76c4 /lib | |
parent | ce1c6b9237bf77cc21da0806240175d5b1507bf4 (diff) |
sms77io: added sender identifer for improved statistics on our side
Signed-off-by: André Matthies <matthiez@gmail.com>
Diffstat (limited to 'lib')
-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 |