diff mod_http_admin_api/mod_http_admin_api.lua @ 4926:404a22d52376

mod_http_admin_api: Indicate whether a given push registration uses encryption
author Matthew Wild <mwild1@gmail.com>
date Mon, 11 Apr 2022 20:32:05 +0100
parents 55e3ca6bdfd1
children 65870d42a7b1
line wrap: on
line diff
--- a/mod_http_admin_api/mod_http_admin_api.lua	Mon Apr 11 20:31:43 2022 +0100
+++ b/mod_http_admin_api/mod_http_admin_api.lua	Mon Apr 11 20:32:05 2022 +0100
@@ -331,6 +331,7 @@
 					node = push_info.node;
 					error_count = push_errors[identifier] or 0;
 					client_id = push_info.client_id;
+					encryption = not not push_info.encryption;
 				};
 			end
 		end