about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-17 08:44:26 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-17 08:51:43 +0100
commit86bcadcbe3806439ca2039b39af08afd4db70429 (patch)
tree65cdedab59a065e06be84cc40e286a033308a13c /src/command/cmd_funcs.h
parent36713a2ed73368cf1892ce1fa43bb74106657391 (diff)
downloadprofani-tty-86bcadcbe3806439ca2039b39af08afd4db70429.tar.gz
Make /sendfile in OTR session configurable
`/otr sendfile on` allows unencrypted file transfer in an OMEMO session.

Regards https://github.com/profanity-im/profanity/pull/1270
Diffstat (limited to 'src/command/cmd_funcs.h')
-rw-r--r--src/command/cmd_funcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/cmd_funcs.h b/src/command/cmd_funcs.h
index 389c35de..58d99635 100644
--- a/src/command/cmd_funcs.h
+++ b/src/command/cmd_funcs.h
@@ -201,6 +201,7 @@ gboolean cmd_otr_untrust(ProfWin *window, const char *const command, gchar **arg
 gboolean cmd_otr_secret(ProfWin *window, const char *const command, gchar **args);
 gboolean cmd_otr_question(ProfWin *window, const char *const command, gchar **args);
 gboolean cmd_otr_answer(ProfWin *window, const char *const command, gchar **args);
+gboolean cmd_otr_sendfile(ProfWin *window, const char *const command, gchar **args);
 
 gboolean cmd_wins(ProfWin *window, const char *const command, gchar **args);
 gboolean cmd_wins_unread(ProfWin *window, const char *const command, gchar **args);