--- a/examples/mcabberrc.lua Thu Feb 26 01:05:02 2009 +0200
+++ b/examples/mcabberrc.lua Fri Feb 27 00:19:33 2009 +0200
@@ -115,28 +115,6 @@
end
end
--- XXX to C?
-function full_current_jid ()
- local jid = main.current_buddy ()
- if jid then
- local info = main.buddy_info ( jid )
- local prio, resource = 0
- for res, par in pairs ( info.resources ) do
- if prio <= par.priority then
- resource = res
- prio = par.priority
- end
- end
- if resource then
- return jid .. '/' .. resource
- else
- return jid
- end
- else
- return nil
- end
-end
-
function online ( jid )
local info = main.buddy_info ( jid )
if not info then