comparison mcabber/src/otr.c @ 1602:f4a2c6f767d1

Message Receipts support (XEP-0184)
author franky
date Wed, 24 Sep 2008 11:41:29 +0200
parents dcd5d4c75199
children
comparison
equal deleted inserted replaced
1601:3efc92a48945 1602:f4a2c6f767d1
643 const char *protocol, const char *recipient, 643 const char *protocol, const char *recipient,
644 const char *message) 644 const char *message)
645 { 645 {
646 if (roster_gettype(recipient) == ROSTER_TYPE_USER) 646 if (roster_gettype(recipient) == ROSTER_TYPE_USER)
647 xmpp_send_msg(recipient, message, ROSTER_TYPE_USER, "", TRUE, NULL, 647 xmpp_send_msg(recipient, message, ROSTER_TYPE_USER, "", TRUE, NULL,
648 LM_MESSAGE_SUB_TYPE_NOT_SET); 648 LM_MESSAGE_SUB_TYPE_NOT_SET, NULL);
649 } 649 }
650 650
651 /* Display a notification message for a particular 651 /* Display a notification message for a particular
652 * accountname / protocol / username conversation. */ 652 * accountname / protocol / username conversation. */
653 static void cb_notify(void *opdata, OtrlNotifyLevel level, 653 static void cb_notify(void *opdata, OtrlNotifyLevel level,