mod_csi_battery_saver: add xep number to mds comment
authortmolitor <thilo@eightysoft.de>
Mon, 29 Apr 2024 01:31:40 +0200
changeset 5897 5db53d619e66
parent 5896 433a4dd1dc2a
child 5898 423163b65bb1
mod_csi_battery_saver: add xep number to mds comment
mod_csi_battery_saver/mod_csi_battery_saver.lua
--- 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