Software /
code /
prosody
Diff
plugins/mod_roster.lua @ 421:63be85693710
Modules now sending disco replies
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 26 Nov 2008 08:27:09 +0500 |
parent | 326:99a8317d1235 |
child | 438:193f9dd64f17 |
line wrap: on
line diff
--- a/plugins/mod_roster.lua Wed Nov 26 08:26:24 2008 +0500 +++ b/plugins/mod_roster.lua Wed Nov 26 08:27:09 2008 +0500 @@ -9,6 +9,8 @@ local rm_add_to_roster = require "core.rostermanager".add_to_roster; local rm_roster_push = require "core.rostermanager".roster_push; +require "core.discomanager".set("roster", "jabber:iq:roster"); + add_iq_handler("c2s", "jabber:iq:roster", function (session, stanza) if stanza.tags[1].name == "query" then