2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Add simple files and contacts export.

Also move all API calls in export to Export::ApiWrap.
This commit is contained in:
John Preston
2018-06-11 21:35:27 +03:00
parent 0a1a5ed70e
commit cec8114b99
21 changed files with 951 additions and 307 deletions

View File

@@ -596,7 +596,7 @@ void Session::tryToReceive() {
}
}
if (isUpdate) {
if (dcWithShift == bareDcId(dcWithShift)) { // call globalCallback only in main session
if (dcWithShift == BareDcId(dcWithShift)) { // call globalCallback only in main session
_instance->globalCallback(message.constData(), message.constData() + message.size());
}
} else {