From d215f8ce4634ab769f52d70119fed2dd0d8124f9 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 24 Nov 2022 09:49:54 +0100 Subject: Use the new hide API. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 2743be9..624b6e7 100644 --- a/html.c +++ b/html.c @@ -497,7 +497,7 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i xs *s = xs_str_new(NULL); /* top wrap */ - if ((v = xs_dict_get(meta, "hidden")) && xs_type(v) == XSTYPE_TRUE) + if (is_hidden(snac, id)) s = xs_str_cat(s, "