Added prof_on_disconnect hook to test plugins

This commit is contained in:
James Booth
2013-09-03 22:51:43 +01:00
parent 7beffd8951
commit 267b8eacde
3 changed files with 19 additions and 0 deletions

View File

@@ -18,6 +18,11 @@ module RubyTest
Prof::cons_show("RubyTest: on_connect, " + account_name + ", " + fulljid)
end
def self.prof_on_disconnect(account_name, fulljid)
Prof::cons_show("RubyTest: on_disconnect, " + account_name + ", " + fulljid)
Prof::log_info("RubyTest: on_disconnect, " + account_name + ", " + fulljid)
end
def self.prof_on_message_received(jid, message)
Prof::cons_show("RubyTest: on_message_received, " + jid + ", " + message)
Prof::cons_alert