diff --git a/skype.c b/skype.c index 819e185..0f48dc2 100644 --- a/skype.c +++ b/skype.c @@ -683,13 +683,13 @@ static gboolean skype_read_callback(gpointer data, gint fd, b_input_condition co if (gc) imcb_chat_free(gc); if (!strcmp(info, "STATUS MULTI_SUBSCRIBED")) { - imcb_chat_new(ic, id); + imcb_chat_new(ic, id, 1); g_snprintf(buf, 1024, "GET CHAT %s ADDER\n", id); skype_write(ic, buf); g_snprintf(buf, 1024, "GET CHAT %s TOPIC\n", id); skype_write(ic, buf); } else if (!strcmp(info, "STATUS DIALOG") && sd->groupchat_with) { - gc = imcb_chat_new(ic, id); + gc = imcb_chat_new(ic, id, 1); /* According to the docs this * is necessary. However it * does not seem the situation @@ -1076,7 +1076,7 @@ struct groupchat *skype_chat_with(struct im_connection *ic, char *who) g_free(nick); /* We create a fake chat for now. We will replace it with a real one in * the real callback. */ - return imcb_chat_new(ic, ""); + return imcb_chat_new(ic, "", 0); } static void skype_get_info(struct im_connection *ic, char *who)