plugins.jingle: Add 'terminated' event

Thu, 09 Sep 2010 19:10:37 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 09 Sep 2010 19:10:37 +0100
changeset 118
d076948cd0e1
parent 117
f523516196ce
child 119
989cb40f8e62

plugins.jingle: Add 'terminated' event

plugins/jingle.lua file | annotate | diff | comparison | revisions
--- a/plugins/jingle.lua	Thu Aug 26 17:53:05 2010 +0100
+++ b/plugins/jingle.lua	Thu Sep 09 19:10:37 2010 +0100
@@ -258,6 +258,7 @@
 end
 
 function jingle_mt:destroy()
+	self:event("terminated");
 	self.stream:unhook("jingle/"..self.sid, self.handle_command);
 end
 

mercurial