--- a/TODO Mon Mar 16 19:57:51 2009 +0200
+++ b/TODO Tue Mar 17 18:38:52 2009 +0200
@@ -17,4 +17,5 @@
forms abandoning hook to inform server
eliminate main.parse_args?
common disco routines should get connection object from outer space - no mcabber dependency, the same for forms parsing, pep sending (though it anyway needs to be converted to pubsub)...
+tune should set self-song only on reply from server
--- a/examples/xep0146.lua Mon Mar 16 19:57:51 2009 +0200
+++ b/examples/xep0146.lua Tue Mar 17 18:38:52 2009 +0200
@@ -49,7 +49,7 @@
end
local action = args[1]
if not action then
- disco_items ( lm.connection.bless ( main.connection (),
+ disco_items ( lm.connection.bless ( main.connection () ),
function ( items )
if type ( items ) == 'string' then
main.print_info ( who, string.format ( "Service items discovery for %s (http://jabber.org/protocol/commands) failed: %s", who, items ) )