Thu, 07 Apr 2011 02:20:48 +0200
Merge
function riddim.plugins.autosubscribe(bot) bot:hook("presence", function (presence) if presence.stanza.attr.type ~= 'subscribe' then return nil; end bot:send_presence(presence.sender.jid, 'subscribed'); return false; end); end