mod_http_muc_log: Add a note about changing how presence is treated
authorKim Alvefur <zash@zash.se>
Mon, 28 May 2018 20:21:01 +0200
changeset 3064 982668000163
parent 3063 14d8f2a9d5f4
child 3065 25eecbb195d9
mod_http_muc_log: Add a note about changing how presence is treated
mod_http_muc_log/mod_http_muc_log.lua
--- a/mod_http_muc_log/mod_http_muc_log.lua	Mon May 28 20:11:37 2018 +0200
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Mon May 28 20:21:01 2018 +0200
@@ -234,6 +234,7 @@
 		elseif body and body:sub(1,4) == "/me " then
 			verb, body = body:sub(5), nil;
 		elseif item.name == "presence" then
+			-- TODO Distinguish between join and presence update
 			verb = item.attr.type == "unavailable" and "has left" or "has joined";
 		end
 		if body or verb then