mod_pubsub: Handle disco#info and disco#items
[prosody.git] / core / sessionmanager.lua
index c4dee5b792b09db020b056823be2582902e24632..d36591bfb34c2218c01c84388796409dbda57a88 100644 (file)
@@ -86,6 +86,7 @@ local resting_session = { -- Resting, not dead
                close = function (session)
                        session.log("debug", "Attempt to close already-closed session");
                end;
+               filter = function (type, data) return data; end;
        }; resting_session.__index = resting_session;
 
 function retire_session(session)