Only get user info for dialogs that actually have a photo
This commit is contained in:
parent
2d7d1016a8
commit
5d187216cf
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,8 @@ static void on_get_dialog_list_done (struct tgl_state *TLS, void *callback_extra
|
|||
if (! buddy) {
|
||||
buddy = p2tgl_buddy_new (TLS, UC);
|
||||
purple_blist_add_buddy (buddy, NULL, tggroup, NULL);
|
||||
}
|
||||
if (UC->user.photo_id) {
|
||||
tgl_do_get_user_info (TLS, UC->id, 0, on_user_get_info, get_user_info_data_new (0, UC->id));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue