Mercurial > prosody-modules
comparison mod_http_admin_api/mod_http_admin_api.lua @ 4925: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 |
comparison
equal
deleted
inserted
replaced
| 4924:55e3ca6bdfd1 | 4925:404a22d52376 |
|---|---|
| 329 since = push_info.timestamp; | 329 since = push_info.timestamp; |
| 330 service = push_info.jid; | 330 service = push_info.jid; |
| 331 node = push_info.node; | 331 node = push_info.node; |
| 332 error_count = push_errors[identifier] or 0; | 332 error_count = push_errors[identifier] or 0; |
| 333 client_id = push_info.client_id; | 333 client_id = push_info.client_id; |
| 334 encryption = not not push_info.encryption; | |
| 334 }; | 335 }; |
| 335 end | 336 end |
| 336 end | 337 end |
| 337 debug_info.push_registrations = push_registrations; | 338 debug_info.push_registrations = push_registrations; |
| 338 end | 339 end |
