2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-31 22:15:10 +00:00

Remove chats from contact list when we are no longer group member

This commit is contained in:
Arseniy Lartsev
2020-05-22 13:46:37 +02:00
parent 2b74471a42
commit d455c2ddc9
4 changed files with 83 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ PurpleConvChat * findChatConversation(PurpleAccount *account, const td::td_ap
void updatePrivateChat(TdAccountData &account, const td::td_api::chat &chat, const td::td_api::user &user);
void updateBasicGroupChat(TdAccountData &account, int32_t groupId);
void updateSupergroupChat(TdAccountData &account, int32_t groupId);
void removeGroupChat(PurpleAccount *purpleAccount, const td::td_api::chat &chat);
std::string getSenderPurpleName(const td::td_api::chat &chat, const td::td_api::message &message,
TdAccountData &account);
std::string getForwardSource(const td::td_api::messageForwardInfo &forwardInfo,