summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar grunfink2023-07-13 08:42:30 +0000
committerGravatar grunfink2023-07-13 08:42:30 +0000
commitff8e400e6730dc77a7321cdc47d2077a51ba74d9 (patch)
tree6f19968f2be83735b70816bcf21212e0086734f5 /activitypub.c
parentFixed HTML re-encoding in the user bio. (diff)
parentutils.c: Prompt does not need \n (diff)
downloadsnac2-ff8e400e6730dc77a7321cdc47d2077a51ba74d9.tar.gz
snac2-ff8e400e6730dc77a7321cdc47d2077a51ba74d9.tar.xz
snac2-ff8e400e6730dc77a7321cdc47d2077a51ba74d9.zip
Merge pull request 'XSS: Also encode in admin page, and other....' (#65) from yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/65
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index fa592e7..9fe293c 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1154,7 +1154,6 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach,
1154 const xs_list *opts, int multiple, int end_secs) 1154 const xs_list *opts, int multiple, int end_secs)
1155/* creates a Question message */ 1155/* creates a Question message */
1156{ 1156{
1157 xs *ntid = tid(0);
1158 xs_dict *msg = msg_note(user, content, NULL, NULL, attach, 0); 1157 xs_dict *msg = msg_note(user, content, NULL, NULL, attach, 0);
1159 int max = 8; 1158 int max = 8;
1160 xs_set seen; 1159 xs_set seen;