Changeset

118:d076948cd0e1

plugins.jingle: Add 'terminated' event
author Matthew Wild <mwild1@gmail.com>
date Thu, 09 Sep 2010 19:10:37 +0100
parents 117:f523516196ce
children 119:989cb40f8e62
files plugins/jingle.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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