libpurple/xfer.c

changeset 40804
5496016b3c00
parent 40756
3a58ef28ee44
child 40885
87f6241da196
--- a/libpurple/xfer.c	Tue Mar 02 23:06:11 2021 -0600
+++ b/libpurple/xfer.c	Tue Mar 02 23:22:34 2021 -0600
@@ -2416,7 +2416,7 @@
 	g_return_val_if_fail(PURPLE_IS_ACCOUNT(account), NULL);
 	g_return_val_if_fail(who != NULL, NULL);
 
-	protocol = purple_protocols_find(purple_account_get_protocol_id(account));
+	protocol = purple_account_get_protocol(account);
 	if (PURPLE_IS_PROTOCOL_XFER(protocol)) {
 		PurpleConnection *connection = purple_account_get_connection(account);
 

mercurial