comparison mcabber/mcabber/otr.c @ 2263:223827268b2b

Do not send empty subjects when using otr
author franky
date Wed, 30 Mar 2016 20:40:29 +0000
parents f3bd1564fa70
children f5402d705f67
comparison
equal deleted inserted replaced
2262:278b8c1cf193 2263:223827268b2b
881 static void cb_inject_message(void *opdata, const char *accountname, 881 static void cb_inject_message(void *opdata, const char *accountname,
882 const char *protocol, const char *recipient, 882 const char *protocol, const char *recipient,
883 const char *message) 883 const char *message)
884 { 884 {
885 if (roster_gettype(recipient) == ROSTER_TYPE_USER) 885 if (roster_gettype(recipient) == ROSTER_TYPE_USER)
886 xmpp_send_msg(recipient, message, ROSTER_TYPE_USER, "", TRUE, NULL, 886 xmpp_send_msg(recipient, message, ROSTER_TYPE_USER, NULL, TRUE, NULL,
887 LM_MESSAGE_SUB_TYPE_NOT_SET, NULL); 887 LM_MESSAGE_SUB_TYPE_NOT_SET, NULL);
888 } 888 }
889 889
890 /* When the list of ConnContexts changes (including a change in 890 /* When the list of ConnContexts changes (including a change in
891 * state), this is called so the UI can be updated. */ 891 * state), this is called so the UI can be updated. */