mirror of
https://github.com/ars3niy/tdlib-purple
synced 2025-09-05 08:35:27 +00:00
Fixed group chat member list when loggin in with chat open
All the members were getting duplicated
This commit is contained in:
@@ -304,6 +304,7 @@ void setChatMembers(PurpleConvChat *purpleChat, const td::td_api::basicGroupFull
|
||||
for (const std::string &name: nameData)
|
||||
names = g_list_append(names, const_cast<char *>(name.c_str()));
|
||||
|
||||
purple_conv_chat_clear_users(purpleChat);
|
||||
purple_conv_chat_add_users(purpleChat, names, NULL, flags, false);
|
||||
g_list_free(names);
|
||||
g_list_free(flags);
|
||||
|
Reference in New Issue
Block a user