2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

added any profile photo delete, fixed profile photo upload

This commit is contained in:
John Preston
2016-02-26 12:29:07 +03:00
parent 39981835ce
commit 1bd986d2cb
5 changed files with 33 additions and 7 deletions

View File

@@ -107,7 +107,9 @@ private:
void loadBack();
void userPhotosLoaded(UserData *u, const MTPphotos_Photos &photos, mtpRequestId req);
void filesLoaded(History *h, const MTPmessages_Messages &msgs, mtpRequestId req);
void deletePhotosDone(const MTPVector<MTPlong> &result);
bool deletePhotosFail(const RPCError &error);
void updateHeader();
void snapXY();