mirror of
https://github.com/ars3niy/tdlib-purple
synced 2025-08-31 14:05:10 +00:00
Removed some obsolete comments and log messages
This commit is contained in:
@@ -24,8 +24,6 @@ GList *getChatJoinInfo()
|
||||
pce->required = FALSE;
|
||||
info = g_list_append (info, pce);
|
||||
|
||||
purple_debug_misc(config::pluginId, "getChatJoinInfo: first field = %s\n",
|
||||
((proto_chat_entry *)info->data)->identifier);
|
||||
return info;
|
||||
}
|
||||
|
||||
@@ -39,7 +37,6 @@ GHashTable *getChatComponents(const td::td_api::chat &chat)
|
||||
char name[32];
|
||||
snprintf(name, sizeof(name)-1, "%lld", (long long)chat.id_);
|
||||
name[sizeof(name)-1] = '\0';
|
||||
purple_debug_misc(config::pluginId, "Creating chat %s='%s'\n", idKey, name);
|
||||
|
||||
GHashTable *table = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, g_free);
|
||||
g_hash_table_insert(table, idKey, g_strdup(name));
|
||||
|
@@ -69,9 +69,6 @@ public:
|
||||
m_owner->updateSupergroup(std::move(groupUpdate.supergroup_));
|
||||
}
|
||||
|
||||
// TODO updateBasicGroup
|
||||
// TODO updateSupergroup
|
||||
|
||||
void operator()(auto &update) const {
|
||||
purple_debug_misc(config::pluginId, "Incoming update: ignorig ID=%d\n", update.get_id());
|
||||
}
|
||||
@@ -426,7 +423,6 @@ void PurpleTdClient::updateBasicGroupChat(int32_t groupId)
|
||||
group->id_);
|
||||
else {
|
||||
std::string chatName = getChatName(*chat);
|
||||
purple_debug_misc(config::pluginId, "Looking for purple chat '%s'\n", chatName.c_str());
|
||||
PurpleChat *purpleChat = purple_blist_find_chat(m_account, chatName.c_str());
|
||||
if (!purpleChat) {
|
||||
purple_debug_misc(config::pluginId, "Adding new chat for basic group %d (%s)\n",
|
||||
@@ -451,7 +447,6 @@ void PurpleTdClient::updateSupergroupChat(int32_t groupId)
|
||||
group->id_);
|
||||
else {
|
||||
std::string chatName = getChatName(*chat);
|
||||
purple_debug_misc(config::pluginId, "Looking for purple chat '%s'\n", chatName.c_str());
|
||||
PurpleChat *purpleChat = purple_blist_find_chat(m_account, chatName.c_str());
|
||||
if (!purpleChat) {
|
||||
purple_debug_misc(config::pluginId, "Adding new chat for supergroup %d (%s)\n",
|
||||
|
Reference in New Issue
Block a user