diff options
-rw-r--r-- | lib/Service/Gateway/Telegram/Gateway.php | 2 |
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; } |