summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar grunfink2025-06-27 15:24:27 +0200
committerGravatar grunfink2025-06-27 15:24:27 +0200
commita5ce94c824b0705da068420ca58e81bda7f8bef3 (patch)
tree6af0e3b6ebf2a50521be822c4b908bd7aee16509
parentUpdated documentation. (diff)
downloadsnac2-a5ce94c824b0705da068420ca58e81bda7f8bef3.tar.gz
snac2-a5ce94c824b0705da068420ca58e81bda7f8bef3.tar.xz
snac2-a5ce94c824b0705da068420ca58e81bda7f8bef3.zip
Added an actor refresh in html_entry().
-rw-r--r--html.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/html.c b/html.c
index b482d10..7d748f9 100644
--- a/html.c
+++ b/html.c
@@ -2008,8 +2008,13 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2008 } 2008 }
2009 2009
2010 if ((user == NULL || strcmp(actor, user->actor) != 0) 2010 if ((user == NULL || strcmp(actor, user->actor) != 0)
2011 && !valid_status(actor_get(actor, NULL))) 2011 && !valid_status(actor_get(actor, NULL))) {
2012
2013 if (user)
2014 enqueue_actor_refresh(user, actor, 0);
2015
2012 return NULL; 2016 return NULL;
2017 }
2013 2018
2014 /** html_entry top tag **/ 2019 /** html_entry top tag **/
2015 xs_html *entry_top = xs_html_tag("div", NULL); 2020 xs_html *entry_top = xs_html_tag("div", NULL);