summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-02 17:42:36 +0200
committerdefault <nobody@localhost>2022-10-02 17:42:36 +0200
commitd29c00bd8f35c41a8cd9826d3353e1768da4e670 (patch)
treecf1d47d76e5d5cab71b33962a9bcc4f0395bee43 /html.c
parentbab25259f9316a765c3de8a1f5d7111accfdb004 (diff)
An 'Update' message is set to everyone when data is changed.
Diffstat (limited to 'html.c')
-rw-r--r--html.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/html.c b/html.c
index 3233df8..2a0b2a8 100644
--- a/html.c
+++ b/html.c
@@ -990,6 +990,11 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
history_del(&snac, "_timeline.html");
+ xs *a_msg = msg_actor(&snac);
+ xs *u_msg = msg_update(&snac, a_msg);
+
+ post(&snac, u_msg);
+
status = 303;
}