about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-07 11:31:17 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-07 11:31:17 +0200
commit7419d2945125f8ade9d91e8895187d59df6fd311 (patch)
tree9471715e758609cdb12039f26d07da207f142b08 /tests
parentd3a387a0ec6e5265f625de87318be2de610efb01 (diff)
downloadprofani-tty-7419d2945125f8ade9d91e8895187d59df6fd311.tar.gz
Update database stub
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/database/stub_database.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unittests/database/stub_database.c b/tests/unittests/database/stub_database.c
index 57ae408a..4c79c273 100644
--- a/tests/unittests/database/stub_database.c
+++ b/tests/unittests/database/stub_database.c
@@ -27,9 +27,7 @@
 #include "database.h"
 
 gboolean log_database_init(ProfAccount *account) { return TRUE; }
-void log_database_add_incoming_chat(ProfMessage *message) {}
-void log_database_add_incoming_muc(ProfMessage *message) {}
-void log_database_add_incoming_muc_pm(ProfMessage *message) {}
+void log_database_add_incoming(ProfMessage *message) {}
 void log_database_add_outgoing_chat(const char * const id, const char * const barejid, const char * const message, const char *const replace_id, prof_enc_t enc) {}
 void log_database_add_outgoing_muc(const char * const id, const char * const barejid, const char * const message, const char *const replace_id, prof_enc_t enc) {}
 void log_database_add_outgoing_muc_pm(const char * const id, const char * const barejid, const char * const message, const char *const replace_id, prof_enc_t enc) {}