diff options
| author | 2023-02-05 17:39:40 +0100 | |
|---|---|---|
| committer | 2023-02-05 17:39:40 +0100 | |
| commit | bad9f3a8c638f434bd04243791aecce950a104ba (patch) | |
| tree | 2f213eb19182f508cb407278fcdc71942f35187d /data.c | |
| parent | New function timeline_get(). (diff) | |
| download | snac2-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -824,10 +824,10 @@ double timeline_mtime(snac *snac) | |||
| 824 | } | 824 | } |
| 825 | 825 | ||
| 826 | 826 | ||
| 827 | int timeline_get(snac *snac, const char *id, xs_dict **msg) | 827 | int 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 | ||