diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-07-04 14:40:38 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-07-04 14:40:38 +0200 |
commit | 3c95917352dfd8ae43768003207e1bb1e80a7376 (patch) | |
tree | aff622cb75266898baef8f7eba721b44448e9477 /db.h | |
parent | 191fc6cf55df805d36555a26177da0eac65b6261 (diff) |
Send msgids in 'send' response and '_push message'
Diffstat (limited to 'db.h')
-rw-r--r-- | db.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ struct db_strings_list db_user_tokens(i64 userid); bool db_add_token(i64 userid,const char *token); bool db_delete_token(i64 userid,const char *token); -void db_create_message(i64 roomid,i64 userid,i64 timestamp,const char *message); +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 // if beforeid<0, same as db_get_messages struct db_message_list db_get_messages_before(i64 roomid,i64 count,i64 beforeid); |