mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Prepare code for revoking of full history.
This commit is contained in:
@@ -195,17 +195,10 @@ public:
|
||||
|
||||
void deletePhotoLayer(PhotoData *photo);
|
||||
|
||||
bool leaveChatFailed(PeerData *peer, const RPCError &e);
|
||||
void deleteHistoryAfterLeave(PeerData *peer, const MTPUpdates &updates);
|
||||
void deleteMessages(
|
||||
not_null<PeerData*> peer,
|
||||
const QVector<MTPint> &ids,
|
||||
bool revoke);
|
||||
void deletedContact(UserData *user, const MTPcontacts_Link &result);
|
||||
void deleteConversation(
|
||||
not_null<PeerData*> peer,
|
||||
bool deleteHistory = true);
|
||||
void deleteAndExit(ChatData *chat);
|
||||
|
||||
bool sendMessageFail(const RPCError &error);
|
||||
|
||||
@@ -416,8 +409,6 @@ private:
|
||||
// Doesn't call sendHistoryChangeNotifications itself.
|
||||
void feedUpdate(const MTPUpdate &update);
|
||||
|
||||
void deleteHistoryPart(DeleteHistoryRequest request, const MTPmessages_AffectedHistory &result);
|
||||
|
||||
void usernameResolveDone(QPair<MsgId, QString> msgIdAndStartToken, const MTPcontacts_ResolvedPeer &result);
|
||||
bool usernameResolveFail(QString name, const RPCError &error);
|
||||
|
||||
|
Reference in New Issue
Block a user