To calculate an ID, take the utf-8 message, convert it to utf-16, and then throw away the high bytes. Of course.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3834 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -16,4 +16,4 @@ bool tf_ssb_db_get_latest_message_by_author(tf_ssb_t* ssb, const char* author, i | ||||
| void tf_ssb_db_visit_query(tf_ssb_t* ssb, const char* query, const JSValue binds, void (*callback)(JSValue row, void* user_data), void* user_data); | ||||
|  | ||||
| typedef struct sqlite3 sqlite3; | ||||
| bool tf_ssb_db_check(sqlite3* db); | ||||
| bool tf_ssb_db_check(sqlite3* db, const char* author); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user