Skip to content

Commit

Permalink
Merge pull request profanity-im#1906 from profanity-im/fix-1731
Browse files Browse the repository at this point in the history
Fix loading of encryption type
  • Loading branch information
jubalh authored Oct 30, 2023
2 parents 7eee96d + 1d41a32 commit 21fc8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database.c
Original file line number Diff line number Diff line change
Expand Up @@ -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* from = (char*)sqlite3_column_text(stmt, 2);
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();
msg->from_jid = jid_create(from);
Expand Down

0 comments on commit 21fc8f6

Please sign in to comment.