diff --git a/src/tdlibwrapper.cpp b/src/tdlibwrapper.cpp index 762be00..e540261 100644 --- a/src/tdlibwrapper.cpp +++ b/src/tdlibwrapper.cpp @@ -1623,7 +1623,10 @@ void TDLibWrapper::handleOptionUpdated(const QString &optionName, const QVariant this->options.insert(optionName, optionValue); emit optionUpdated(optionName, optionValue); if (optionName == "my_id") { - emit ownUserIdFound(optionValue.toString()); + QString ownUserId = optionValue.toString(); + this->userInformation = this->getUserInformation(ownUserId); + emit ownUserIdFound(ownUserId); + } }