comparison mcabber/src/commands.c @ 1484:7b36b91a4388

New UI message flag (O) when OTR is used When PGP is used, the flag is still '~'. When OTR is used (and PGP is not), the encryption flag is 'O'.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 20 Apr 2008 14:30:25 +0200
parents 477581e3b95e
children 0121b6f3047c
comparison
equal deleted inserted replaced
1483:e74cc83e7158 1484:7b36b91a4388
1138 else 1138 else
1139 hmsg = (char*)msg; 1139 hmsg = (char*)msg;
1140 1140
1141 // Network part 1141 // Network part
1142 jb_send_msg(fjid, msg, (isroom ? ROSTER_TYPE_ROOM : ROSTER_TYPE_USER), 1142 jb_send_msg(fjid, msg, (isroom ? ROSTER_TYPE_ROOM : ROSTER_TYPE_USER),
1143 subj, NULL, &crypted, 1143 subj, NULL, &crypted, type_overwrite);
1144 type_overwrite);
1145 1144
1146 if (crypted == -1) { 1145 if (crypted == -1) {
1147 scr_LogPrint(LPRINT_LOGNORM, "Encryption error. Message was not sent."); 1146 scr_LogPrint(LPRINT_LOGNORM, "Encryption error. Message was not sent.");
1148 retval = 1; 1147 retval = 1;
1149 goto send_message_to_return; 1148 goto send_message_to_return;