Add connection_get_profanity_identifier stub

And move defintion to xmpp.h
This commit is contained in:
Michael Vetter
2019-10-18 11:23:30 +02:00
parent 33083662d1
commit 5c6f5ba0f7
6 changed files with 15 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
#include <glib.h>
#include "event/server_events.h"
#include "xmpp/xmpp.h"
#include "xmpp/roster_list.h"
#include "xmpp/chat_session.h"
#include "config/preferences.h"

View File

@@ -0,0 +1,7 @@
#include "xmpp/message.h"
ProfMessage *message_init(void) {
return NULL;
}
void message_free(ProfMessage *message) {}

View File

@@ -92,6 +92,10 @@ connection_supports(const char *const feature)
return FALSE;
}
char *connection_get_profanity_identifier(void) {
return "profident";
}
// message functions
char* message_send_chat(const char * const barejid, const char * const msg, const char *const oob_url,
gboolean request_receipt)