mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-22 19:45:54 -04:00
Merge pull request #1906 from profanity-im/fix-1731
Fix loading of encryption type
This commit is contained in:
commit
21fc8f641e
@ -290,7 +290,7 @@ log_database_get_previous_chat(const gchar* const contact_barejid, const char* s
|
|||||||
char* date = (char*)sqlite3_column_text(stmt, 1);
|
char* date = (char*)sqlite3_column_text(stmt, 1);
|
||||||
char* from = (char*)sqlite3_column_text(stmt, 2);
|
char* from = (char*)sqlite3_column_text(stmt, 2);
|
||||||
char* type = (char*)sqlite3_column_text(stmt, 3);
|
char* type = (char*)sqlite3_column_text(stmt, 3);
|
||||||
char* encryption = (char*)sqlite3_column_text(stmt, 3);
|
char* encryption = (char*)sqlite3_column_text(stmt, 4);
|
||||||
|
|
||||||
ProfMessage* msg = message_init();
|
ProfMessage* msg = message_init();
|
||||||
msg->from_jid = jid_create(from);
|
msg->from_jid = jid_create(from);
|
||||||
|
Loading…
Reference in New Issue
Block a user