aboutsummaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-05-27 21:14:23 +0200
committergrunfink <grunfink@comam.es>2025-05-27 21:14:23 +0200
commit5bc451159420d5d51a507fda82a623069cfae92b (patch)
tree725767368e77caa9751d39778b046b5ad00e4806 /data.c
parent631e44a64a20741b5e4716bf75caf7fa743fef82 (diff)
New function timeline_here().
Diffstat (limited to 'data.c')
-rw-r--r--data.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/data.c b/data.c
index 9eada38..224976b 100644
--- a/data.c
+++ b/data.c
@@ -1400,6 +1400,14 @@ int timeline_here_by_md5(snac *snac, const char *md5)
}
+int timeline_here(snac *user, const char *id)
+{
+ xs *md5 = xs_md5_hex(id, strlen(id));
+
+ return timeline_here_by_md5(user, md5);
+}
+
+
int timeline_get_by_md5(snac *snac, const char *md5, xs_dict **msg)
/* gets a message from the timeline */
{