equal
deleted
inserted
replaced
605 char *htmlmsg, *rmsg; |
605 char *htmlmsg, *rmsg; |
606 ConnContext *ctx = otr_get_context(buddy); |
606 ConnContext *ctx = otr_get_context(buddy); |
607 |
607 |
608 *encryption_status = 0; |
608 *encryption_status = 0; |
609 |
609 |
610 if (!msg || !buddy || !encryption_status) |
610 if (!msg || !buddy || !*encryption_status) |
611 return NULL; |
611 return NULL; |
612 |
612 |
613 if (ctx->msgstate == OTRL_MSGSTATE_PLAINTEXT) |
613 if (ctx->msgstate == OTRL_MSGSTATE_PLAINTEXT) |
614 err = otrl_message_sending(userstate, &ops, NULL, ctx->accountname, |
614 err = otrl_message_sending(userstate, &ops, NULL, ctx->accountname, |
615 #ifdef HAVE_LIBOTR3 |
615 #ifdef HAVE_LIBOTR3 |