summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar default2023-02-05 17:39:40 +0100
committerGravatar default2023-02-05 17:39:40 +0100
commitbad9f3a8c638f434bd04243791aecce950a104ba (patch)
tree2f213eb19182f508cb407278fcdc71942f35187d /data.c
parentNew function timeline_get(). (diff)
downloadsnac2-bad9f3a8c638f434bd04243791aecce950a104ba.tar.gz
snac2-bad9f3a8c638f434bd04243791aecce950a104ba.tar.xz
snac2-bad9f3a8c638f434bd04243791aecce950a104ba.zip
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)
824} 824}
825 825
826 826
827int timeline_get(snac *snac, const char *id, xs_dict **msg) 827int timeline_get_by_md5(snac *snac, const char *md5, xs_dict **msg)
828/* gets a message from the timeline */ 828/* gets a message from the timeline */
829{ 829{
830 return object_get_by_md5(id, msg, NULL); 830 return object_get_by_md5(md5, msg, NULL);
831} 831}
832 832
833 833