libpurple/chat.c

changeset 40804
5496016b3c00
parent 40697
81f81f5d2f39
child 41685
ca22b00972d4
--- a/libpurple/chat.c	Tue Mar 02 23:06:11 2021 -0600
+++ b/libpurple/chat.c	Tue Mar 02 23:22:34 2021 -0600
@@ -83,7 +83,7 @@
 
 	priv = purple_chat_get_instance_private(chat);
 
-	protocol = purple_protocols_find(purple_account_get_protocol_id(priv->account));
+	protocol = purple_account_get_protocol(priv->account);
 
 	if (PURPLE_PROTOCOL_IMPLEMENTS(protocol, CHAT, info)) {
 		PurpleProtocolChatEntry *pce;

mercurial