[Telegram] Core

xF2 Add-on [Telegram] Core 2.0.4.1

No permission to download

Full change list​

Changed

  • Column type for id in users table is changed to BigInt for supporting Bot API v5.4. This change should fix next error when users try log in:
Code:
ErrorException: Fatal Error: Uncaught XF\PrintableException: Please enter a number that is no more than 4294967295.
in /src/XF/Mvc/Entity/Entity.php:1216

Stack trace:
#0 /addons/SModders/TelegramCore/ConnectedAccount/Provider/Telegram.php(105): XF\Mvc\Entity\Entity->save()
#1 /connected_account.php(59): SModders\TelegramCore\ConnectedAccount\Provider\Telegram->requestProviderToken(Object(XF\ConnectedAccount\Storage\StorageState), Object(XF\Http\Request), NULL, false)
#2 {main} thrown src/XF/Mvc/Entity/Entity.php:1216
Implemented our own \XF::asVisitor() method wrapper. It also changes the active language and style (if required).
This should fix bug when authorization message is sended on default forum language. Now addon respects the selected user language anywhere this is possible.
Adds the ability to log in via the Telegram Login Widget. Due to the features of the latter, instead of an instant redirect to Telegram, a page opens with a suggestion to click on the authorization button.
731Threads
2,285Messages
63,708Members
softswiszLatest member
Back