Skip to content

Commit

Permalink
Fix authorization import in FILE_MIGRATE case.
Browse files Browse the repository at this point in the history
Regression was introduced in dd933cf.
  • Loading branch information
john-preston committed Jun 12, 2018
1 parent d3fdf43 commit affe9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/mtproto/mtp_instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ void Instance::Private::registerRequest(
mtpRequestId requestId,
ShiftedDcId shiftedDcId) {
QMutexLocker locker(&_requestByDcLock);
_requestsByDc.emplace(requestId, shiftedDcId);
_requestsByDc[requestId] = shiftedDcId;
}

void Instance::Private::unregisterRequest(mtpRequestId requestId) {
Expand Down

0 comments on commit affe9de

Please sign in to comment.