mirror of
https://github.com/ars3niy/tdlib-purple
synced 2025-08-31 05:55:08 +00:00
Added comment about auto-removing contacts
This commit is contained in:
@@ -398,6 +398,9 @@ void PurpleTdClient::updatePurpleChatListAndReportConnected()
|
||||
getPurpleStatusId(*user->status_), NULL);
|
||||
}
|
||||
|
||||
// Here we could remove buddies for which no private chat exists, meaning they have been remove
|
||||
// from the contact list perhaps in another client
|
||||
|
||||
const td::td_api::user *selfInfo = m_data.getUserByPhone(purple_account_get_username(m_account));
|
||||
if (selfInfo != nullptr) {
|
||||
std::string alias = selfInfo->first_name_ + " " + selfInfo->last_name_;
|
||||
|
Reference in New Issue
Block a user