summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-02-05 17:39:40 +0100
committerdefault <nobody@localhost>2023-02-05 17:39:40 +0100
commitbad9f3a8c638f434bd04243791aecce950a104ba (patch)
tree2f213eb19182f508cb407278fcdc71942f35187d /data.c
parent12aedfadfd9c7805bb7138f64695858b6ceca62c (diff)
Renamed timeline_get() to timeline_get_by_md5(), as that is what id does.
Diffstat (limited to 'data.c')
-rw-r--r--data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/data.c b/data.c
index 0f2bd39..a826b0a 100644
--- a/data.c
+++ b/data.c
@@ -824,10 +824,10 @@ double timeline_mtime(snac *snac)
}
-int timeline_get(snac *snac, const char *id, xs_dict **msg)
+int timeline_get_by_md5(snac *snac, const char *md5, xs_dict **msg)
/* gets a message from the timeline */
{
- return object_get_by_md5(id, msg, NULL);
+ return object_get_by_md5(md5, msg, NULL);
}