summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/data.c b/data.c
index a5f46e8..0f2bd39 100644
--- a/data.c
+++ b/data.c
@@ -824,6 +824,13 @@ double timeline_mtime(snac *snac)
824} 824}
825 825
826 826
827int timeline_get(snac *snac, const char *id, xs_dict **msg)
828/* gets a message from the timeline */
829{
830 return object_get_by_md5(id, msg, NULL);
831}
832
833
827int timeline_del(snac *snac, char *id) 834int timeline_del(snac *snac, char *id)
828/* deletes a message from the timeline */ 835/* deletes a message from the timeline */
829{ 836{