summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-10 09:03:07 +0200
committerdefault <nobody@localhost>2022-10-10 09:03:15 +0200
commit78ec3b077b989bcae5950d75f4ee0cb03bd10030 (patch)
tree6f3556e88b3dd3a1dd90b044862b631e3d6da1c9 /main.c
parent106835b11e9fa54af91aec5d8b9cafa37559b14a (diff)
Media can be attached to notes.
The web interface limits this (by now) to only one attachment, given the URL.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 52eca27..188b92f 100644
--- a/main.c
+++ b/main.c
@@ -235,7 +235,7 @@ int main(int argc, char *argv[])
else
content = xs_dup(url);
- msg = msg_note(&snac, content, NULL, in_reply_to);
+ msg = msg_note(&snac, content, NULL, in_reply_to, NULL);
c_msg = msg_create(&snac, msg);