mirror of
https://github.com/profanity-im/profanity.git
synced 2024-10-27 20:30:13 -04:00
Add message_is_sent_by_us stub
This commit is contained in:
parent
06f300a42c
commit
72bdae1014
@ -3,6 +3,7 @@
|
|||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <cmocka.h>
|
#include <cmocka.h>
|
||||||
|
|
||||||
|
#include "xmpp/message.h"
|
||||||
#include "xmpp/xmpp.h"
|
#include "xmpp/xmpp.h"
|
||||||
|
|
||||||
// connection functions
|
// connection functions
|
||||||
@ -132,6 +133,10 @@ void message_send_gone(const char * const barejid) {}
|
|||||||
void message_send_invite(const char * const room, const char * const contact,
|
void message_send_invite(const char * const room, const char * const contact,
|
||||||
const char * const reason) {}
|
const char * const reason) {}
|
||||||
|
|
||||||
|
bool message_is_sent_by_us(ProfMessage *message) {
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
// presence functions
|
// presence functions
|
||||||
void presence_subscription(const char * const jid, const jabber_subscr_t action) {}
|
void presence_subscription(const char * const jid, const jabber_subscr_t action) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user