Mercurial > prosody-modules
comparison mod_pubsub_feeds/mod_pubsub_feeds.lua @ 2421:a9add2d1adf5
mod_pubsub_feeds: Log pushes for unknown feeds to aid in manual unsubscription from them
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 19 Dec 2016 07:48:48 +0100 |
parents | 7a1625a84624 |
children | 57235bce06fc |
comparison
equal
deleted
inserted
replaced
2420:309db11494c2 | 2421:a9add2d1adf5 |
---|---|
215 end | 215 end |
216 --module:log("debug", "Headers: %s", dump(request.headers)); | 216 --module:log("debug", "Headers: %s", dump(request.headers)); |
217 | 217 |
218 local feed = feed_list[query.node]; | 218 local feed = feed_list[query.node]; |
219 if not feed then | 219 if not feed then |
220 module:log("debug", "Push for unknown feed %s -- %s", query["hub.topic"], formencode(query)); | |
220 return 404; | 221 return 404; |
221 end | 222 end |
222 | 223 |
223 if method == "GET" then | 224 if method == "GET" then |
224 if query.node then | 225 if query.node then |