changeset 5893:5db53d619e66

mod_csi_battery_saver: add xep number to mds comment
author tmolitor <thilo@eightysoft.de>
date Mon, 29 Apr 2024 01:31:40 +0200
parents 433a4dd1dc2a
children 423163b65bb1
files mod_csi_battery_saver/mod_csi_battery_saver.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_csi_battery_saver/mod_csi_battery_saver.lua	Mon Apr 29 01:27:51 2024 +0200
+++ b/mod_csi_battery_saver/mod_csi_battery_saver.lua	Mon Apr 29 01:31:40 2024 +0200
@@ -106,7 +106,7 @@
 
 		-- headline message are always not important, with some exceptions
 		if st_type == "headline" then
-			-- allow headline pushes of mds updates
+			-- allow headline pushes of mds updates (XEP-0490)
 			if stanza:find("{http://jabber.org/protocol/pubsub#event}event/items@node") == "urn:xmpp:mds:displayed:0" then return true; end;
 			return false
 		end