Initial /sendfile OMEMO encryption

This commit is contained in:
William Wennerström
2020-06-11 22:50:36 +02:00
parent 35aecd425f
commit 3370418d71
8 changed files with 242 additions and 54 deletions

View File

@@ -2401,9 +2401,9 @@ _http_upload_response_id_handler(xmpp_stanza_t* const stanza, void* const userda
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
char* error_message = stanza_get_error_message(stanza);
if (from) {
cons_show_error("Uploading '%s' failed for %s: %s", upload->filename, from, error_message);
cons_show_error("Uploading '%s' failed for %s: %s", upload->filepath, from, error_message);
} else {
cons_show_error("Uploading '%s' failed: %s", upload->filename, error_message);
cons_show_error("Uploading '%s' failed: %s", upload->filepath, error_message);
}
free(error_message);
return 0;