diff --git a/tests/python-test.py b/tests/python-test.py index 37f82a3..d1612fc 100644 --- a/tests/python-test.py +++ b/tests/python-test.py @@ -328,6 +328,8 @@ def prof_init(version, status, account_name, fulljid): t.daemon = True t.start() + prof.disco_add_feature("urn:xmpp:profanity:python_test_plugin"); + prof.win_create(plugin_win, _handle_win_input) if account_name and fulljid: prof.win_show(plugin_win, "fired -> prof_init: " + version + ", " + status + ", " + account_name + ", " + fulljid) diff --git a/tests/test-c-plugin/test-c-plugin.c b/tests/test-c-plugin/test-c-plugin.c index 69a1068..703b120 100644 --- a/tests/test-c-plugin/test-c-plugin.c +++ b/tests/test-c-plugin/test-c-plugin.c @@ -494,6 +494,8 @@ prof_init(const char * const version, const char * const status, const char *con { pthread_create(&worker_thread, NULL, inc_counter, NULL); + prof_disco_add_feature("urn:xmpp:profanity:c_test_plugin"); + prof_win_create(plugin_win, handle_win_input); char buf[256];