diff -r 79e613af04c4 -r ed15916ec9ed libpurple/server.c --- a/libpurple/server.c Thu Nov 23 22:28:09 2017 -0600 +++ b/libpurple/server.c Thu Jan 18 23:46:05 2018 -0600 @@ -295,10 +295,10 @@ protocol = purple_protocols_find(purple_account_get_protocol_id(account)); /* Lookup the attention type in the protocol's attention_types list, if any. */ - if (PURPLE_PROTOCOL_IMPLEMENTS(protocol, ATTENTION_IFACE, get_types)) { + if (PURPLE_IS_PROTOCOL_ATTENTION(protocol)) { GList *attention_types; - attention_types = purple_protocol_attention_iface_get_types(protocol, account); + attention_types = purple_protocol_attention_get_types(protocol, account); attn = (PurpleAttentionType *)g_list_nth_data(attention_types, type_code); } else { attn = NULL;