Fix crash on joining non-existing chat
This commit is contained in:
parent
aa3e220738
commit
c0210af0b9
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ void tgprpl_chat_join (PurpleConnection *gc, GHashTable *data) {
|
|||
tgp_channel_load (gc_get_tls (gc), P, tgp_chat_on_loaded_channel_full_joining, NULL);
|
||||
}
|
||||
} else {
|
||||
warning ("Cannot join chat %d, peer not found...", tgl_get_peer_id (P->id));
|
||||
warning ("Cannot join chat %d, peer not found...", atoi (value));
|
||||
purple_serv_got_join_chat_failed (gc, data);
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue