Added examples for prof_disco_add_feature

This commit is contained in:
James Booth
2016-04-30 23:11:49 +01:00
parent b945ac3acc
commit 1c6a178932
2 changed files with 4 additions and 0 deletions

View File

@@ -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)