aboutsummaryrefslogtreecommitdiff
path: root/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'db.h')
-rw-r--r--db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.h b/db.h
index 8d618b4..d1c105b 100644
--- a/db.h
+++ b/db.h
@@ -60,7 +60,7 @@ bool db_add_token(i64 userid,const char *token);
bool db_delete_token(i64 userid,const char *token);
i64 db_create_message(i64 roomid,i64 userid,i64 timestamp,const char *message); // returns msgid
-struct db_message_list db_get_messages(i64 roomid,i64 count); // gets latest `count` messages
+struct db_message_list db_get_messages(i64 roomid,i64 count); // gets latest `count` messages in rev. chron. order
// if beforeid<0, same as db_get_messages
struct db_message_list db_get_messages_before(i64 roomid,i64 count,i64 beforeid);