logo

ap-client

Unnamed repository; edit this file 'description' to name the repository.
commit: a6cf9d07fa3ab7cc6a400c173658c08cfe821ed4
parent: a493d11d503afe1a5bd81f902dfdbf91ed0b3ee6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  6 May 2020 00:08:10 +0200

ap-represent.pl: Put ⚠ on sensitive object

Diffstat:

Map-represent.pl1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ap-represent.pl b/ap-represent.pl @@ -24,6 +24,7 @@ sub print_object { printf ' <%s>', $object->{"id"} if $object->{"id"}; printf ' “%s”', $object->{"name"} if $object->{"name"}; printf ' @%s', $object->{"preferredUsername"} if $object->{"preferredUsername"}; + printf ' ⚠' if ($object->{"sensitive"} eq JSON->true); print "\n"; foreach("url", "context", "inbox", "outbox", "prev", "next", "published", "updated", "summary", "content") { print_object_key($indent, $object, $_);