--- a/libpurple/protocols/jabber/adhoccommands.c Fri Jan 06 02:10:17 2023 -0600 +++ b/libpurple/protocols/jabber/adhoccommands.c Fri Jan 06 02:12:12 2023 -0600 @@ -266,8 +266,12 @@ js->commands = g_list_append(js->commands,cmd); } - if (js->state == JABBER_STREAM_CONNECTED) - purple_protocol_got_account_actions(purple_connection_get_account(js->gc)); + if (js->state == JABBER_STREAM_CONNECTED) { + PurpleProtocol *protocol = purple_connection_get_protocol(js->gc); + + purple_protocol_actions_changed(PURPLE_PROTOCOL_ACTIONS(protocol), + purple_connection_get_account(js->gc)); + } } static void