Create group chat buffer if it's missing in namelist callback.

This commit is contained in:
Håvard Pettersson 2014-11-18 15:18:27 +01:00
parent 014a2070ca
commit a7e0445c84

View File

@ -340,7 +340,7 @@ twc_group_namelist_change_callback(Tox *tox,
struct t_twc_profile *profile = data; struct t_twc_profile *profile = data;
struct t_twc_chat *chat = twc_chat_search_group(profile, struct t_twc_chat *chat = twc_chat_search_group(profile,
group_number, group_number,
false); true);
struct t_gui_nick *nick = NULL; struct t_gui_nick *nick = NULL;
char *name = twc_get_peer_name_nt(profile->tox, group_number, peer_number); char *name = twc_get_peer_name_nt(profile->tox, group_number, peer_number);