mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed /tiny OTR messages
This commit is contained in:
parent
34e4c1c3b2
commit
0a49fc32c7
@ -1935,7 +1935,7 @@ cmd_tiny(gchar **args, struct cmd_help_t help)
|
|||||||
if (tiny != NULL) {
|
if (tiny != NULL) {
|
||||||
if (win_type == WIN_CHAT) {
|
if (win_type == WIN_CHAT) {
|
||||||
char *recipient = ui_current_recipient();
|
char *recipient = ui_current_recipient();
|
||||||
#ifdef HAVE_LIBOTR
|
#ifdef PROF_HAVE_LIBOTR
|
||||||
if (otr_is_secure(recipient)) {
|
if (otr_is_secure(recipient)) {
|
||||||
char *encrypted = otr_encrypt_message(recipient, tiny);
|
char *encrypted = otr_encrypt_message(recipient, tiny);
|
||||||
if (encrypted != NULL) {
|
if (encrypted != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user