diff options
author | default <nobody@localhost> | 2022-10-02 17:42:36 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-02 17:42:36 +0200 |
commit | d29c00bd8f35c41a8cd9826d3353e1768da4e670 (patch) | |
tree | cf1d47d76e5d5cab71b33962a9bcc4f0395bee43 /html.c | |
parent | bab25259f9316a765c3de8a1f5d7111accfdb004 (diff) |
An 'Update' message is set to everyone when data is changed.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; } |