plugins/jingle.lua

changeset 220
5e5af66b03fd
parent 211
837cd09fcf01
child 250
a5ac643a7fd6
--- a/plugins/jingle.lua	Fri Sep 30 05:17:06 2011 +0200
+++ b/plugins/jingle.lua	Sun Oct 02 00:30:12 2011 +0200
@@ -97,13 +97,13 @@
 		if not content then
 			-- FIXME: Fail, no content
 			stream:send(verse.error_reply(stanza, "cancel", "feature-not-implemented", "The specified content is not supported"));
-			return;
+			return true;
 		end
 		
 		if not transport then
 			-- FIXME: Refuse session, no transport
 			stream:send(verse.error_reply(stanza, "cancel", "feature-not-implemented", "The specified transport is not supported"));
-			return;
+			return true;
 		end
 		
 		stream:send(verse.reply(stanza));

mercurial