Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_gateway.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Service/Gateway/Telegram/Gateway.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/Gateway/Telegram/Gateway.php b/lib/Service/Gateway/Telegram/Gateway.php
index d8b355c..e025fa1 100644
--- a/lib/Service/Gateway/Telegram/Gateway.php
+++ b/lib/Service/Gateway/Telegram/Gateway.php
@@ -90,7 +90,7 @@ class Gateway implements IGateway {
// TODO: handle missing `/start` message and `$update` null values
$chatId = $update->message->chat->id;
- $this->config->setUserValue($user->getUID(), 'twofactor_gateway', 'chat_id', $chatId);
+ $this->config->setUserValue($user->getUID(), 'twofactor_gateway', 'telegram_chat_id', $chatId);
return (int)$chatId;
}