summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2022-10-02 17:42:36 +0200
committerGravatar default2022-10-02 17:42:36 +0200
commitd29c00bd8f35c41a8cd9826d3353e1768da4e670 (patch)
treecf1d47d76e5d5cab71b33962a9bcc4f0395bee43 /html.c
parentUser data can be modified from the web interface. (diff)
downloadsnac2-d29c00bd8f35c41a8cd9826d3353e1768da4e670.tar.gz
snac2-d29c00bd8f35c41a8cd9826d3353e1768da4e670.tar.xz
snac2-d29c00bd8f35c41a8cd9826d3353e1768da4e670.zip
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,
990 990
991 history_del(&snac, "_timeline.html"); 991 history_del(&snac, "_timeline.html");
992 992
993 xs *a_msg = msg_actor(&snac);
994 xs *u_msg = msg_update(&snac, a_msg);
995
996 post(&snac, u_msg);
997
993 status = 303; 998 status = 303;
994 } 999 }
995 1000