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
Code:
\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.
Back
Top Bottom