From 6803fb5c3a1e5a28b57886fc8cdcac861c1cd412 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sat, 28 Mar 2020 12:05:33 +0100 Subject: [PATCH] Fix message_send_private unittest stub --- tests/unittests/xmpp/stub_xmpp.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c index 7ba1d428..2fa619af 100644 --- a/tests/unittests/xmpp/stub_xmpp.c +++ b/tests/unittests/xmpp/stub_xmpp.c @@ -116,11 +116,16 @@ char* message_send_chat_pgp(const char * const barejid, const char * const msg, return NULL; } -void message_send_private(const char * const fulljid, const char * const msg, const char *const oob_url) {} +char* message_send_private(const char *const fulljid, const char *const msg, const char *const oob_url) +{ + return NULL; +} + char* message_send_groupchat(const char *const roomjid, const char *const msg, const char *const oob_url, const char *const replace_id) { return NULL; } + void message_send_groupchat_subject(const char * const roomjid, const char * const subject) {} void message_send_inactive(const char * const barejid) {}