changeset 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 b8366e31c829
files mod_http_admin_api/mod_http_admin_api.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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