--- a/libpurple/protocols/irc/irc.c Mon May 17 20:32:56 2021 -0500 +++ b/libpurple/protocols/irc/irc.c Tue May 18 02:04:53 2021 -0500 @@ -151,7 +151,7 @@ g_strfreev(target_tokens); if (isnick) { - PurpleIMConversation *im; + PurpleConversation *im; /* 'server' isn't needed here. Free it immediately. */ g_free(server); @@ -160,14 +160,13 @@ im = purple_im_conversation_new(account, target + 1); g_free(target); - purple_conversation_present(PURPLE_CONVERSATION(im)); + purple_conversation_present(im); if (params != NULL) { const gchar *msg = g_hash_table_lookup(params, "msg"); if (msg != NULL) { - purple_conversation_send_confirm( - PURPLE_CONVERSATION(im), msg); + purple_conversation_send_confirm(im, msg); } }