Added an actor refresh in html_entry().

This commit is contained in:
grunfink
2025-06-27 15:24:27 +02:00
parent f33fabe303
commit a5ce94c824
+6 -1
View File
@@ -2008,8 +2008,13 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
}
if ((user == NULL || strcmp(actor, user->actor) != 0)
&& !valid_status(actor_get(actor, NULL)))
&& !valid_status(actor_get(actor, NULL))) {
if (user)
enqueue_actor_refresh(user, actor, 0);
return NULL;
}
/** html_entry top tag **/
xs_html *entry_top = xs_html_tag("div", NULL);