summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
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);
}