diff mod_http_muc_log/mod_http_muc_log.lua @ 3060:982668000163

mod_http_muc_log: Add a note about changing how presence is treated
author Kim Alvefur <zash@zash.se>
date Mon, 28 May 2018 20:21:01 +0200
parents 14d8f2a9d5f4
children 25eecbb195d9
line wrap: on
line diff
--- 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