Moved message display logic to sv_ev_incoming_message

This commit is contained in:
James Booth
2015-06-21 18:00:57 +01:00
parent 9b991ae058
commit 8d2d923603
4 changed files with 19 additions and 16 deletions

View File

@@ -41,7 +41,10 @@ char* otr_start_query(void)
void otr_poll(void) {}
void otr_on_connect(ProfAccount *account) {}
void otr_on_message_recv(const char * const barejid, const char * const resource, const char * const message) {}
char* otr_on_message_recv(const char * const barejid, const char * const resource, const char * const message, gboolean *was_decrypted)
{
return NULL;
}
gboolean otr_on_message_send(ProfChatWin *chatwin, const char * const message)
{
return FALSE;