summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2025-03-02 06:16:44 +0100
committerGravatar default2025-03-02 06:16:44 +0100
commit9260a1e328cd3922c85c0794559e7a032c2e6d25 (patch)
tree241f2c88e8f63a1d03bae8ffa049255c1804b3d3
parentmsg_note() accepts a nullable post date. (diff)
downloadsnac2-9260a1e328cd3922c85c0794559e7a032c2e6d25.tar.gz
snac2-9260a1e328cd3922c85c0794559e7a032c2e6d25.tar.xz
snac2-9260a1e328cd3922c85c0794559e7a032c2e6d25.zip
Posts from the command line accept the DATE env var.
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3cd4524..0913f10 100644
--- a/main.c
+++ b/main.c
@@ -710,7 +710,7 @@ int main(int argc, char *argv[])
710 if (strcmp(cmd, "note_unlisted") == 0) 710 if (strcmp(cmd, "note_unlisted") == 0)
711 scope = 2; 711 scope = 2;
712 712
713 msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"), NULL); 713 msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"), getenv("DATE"));
714 714
715 c_msg = msg_create(&snac, msg); 715 c_msg = msg_create(&snac, msg);
716 716