commit a5ce94c
grunfink
·
2025-06-27 13:24:27 +0000 UTC
parent f33fabe
Added an actor refresh in html_entry().
1 files changed,
+6,
-1
M
html.c
M
html.c
+6,
-1
1@@ -2008,8 +2008,13 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2 }
3
4 if ((user == NULL || strcmp(actor, user->actor) != 0)
5- && !valid_status(actor_get(actor, NULL)))
6+ && !valid_status(actor_get(actor, NULL))) {
7+
8+ if (user)
9+ enqueue_actor_refresh(user, actor, 0);
10+
11 return NULL;
12+ }
13
14 /** html_entry top tag **/
15 xs_html *entry_top = xs_html_tag("div", NULL);