diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-17 08:59:55 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-17 08:59:55 +0100 |
commit | 7955f4426281fb14523064f5359a2942ad5996e4 (patch) | |
tree | a2b745af91f6e8456036ab4fff955e52e8269eb3 /src | |
parent | 7d596d8cef0c453ab2a4c57a7e5d51634e31af25 (diff) | |
download | profani-tty-7955f4426281fb14523064f5359a2942ad5996e4.tar.gz |
Mention how to enable unencrypted file transer
Regards https://github.com/profanity-im/profanity/pull/1270
Diffstat (limited to 'src')
-rw-r--r-- | src/command/cmd_funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 7bc8a027..4f617ffe 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -4805,7 +4805,7 @@ cmd_sendfile(ProfWin *window, const char *const command, gchar **args) // only omemo, no pgp/otr available in MUCs if (mucwin->is_omemo && !prefs_get_boolean(PREF_OMEMO_SENDFILE)) { - cons_show_error("Uploading '%s' failed: Encrypted file uploads not yet implemented!", filename); + cons_show_error("Uploading unencrypted files disabled. See /omemo sendfile, /otr sendfile, /pgp sendfile."); win_println(window, THEME_ERROR, '-', "Sending encrypted files via http_upload is not possible yet."); free(filename); return TRUE; @@ -4820,7 +4820,7 @@ cmd_sendfile(ProfWin *window, const char *const command, gchar **args) if ((chatwin->is_omemo && !prefs_get_boolean(PREF_OMEMO_SENDFILE)) || (chatwin->pgp_send && !prefs_get_boolean(PREF_PGP_SENDFILE)) || (chatwin->is_otr && !prefs_get_boolean(PREF_OTR_SENDFILE))) { - cons_show_error("Uploading '%s' failed: Encrypted file uploads not yet implemented!", filename); + cons_show_error("Uploading unencrypted files disabled. See /omemo sendfile, /otr sendfile, /pgp sendfile."); win_println(window, THEME_ERROR, '-', "Sending encrypted files via http_upload is not possible yet."); free(filename); return TRUE; |