Mock otr module for cmd_otr tests

This commit is contained in:
James Booth
2014-02-16 19:14:15 +00:00
parent 6ef1174bf4
commit a21ab6d4c8
9 changed files with 144 additions and 49 deletions

View File

@@ -29,6 +29,9 @@
#include "profanity.h"
#ifdef HAVE_LIBOTR
#include "otr/otr.h"
#endif
#include "xmpp/xmpp.h"
#include "ui/ui.h"
@@ -56,6 +59,9 @@ _init_modules(void)
titlebar_init_module();
accounts_init_module();
#ifdef HAVE_LIBOTR
otr_init_module();
#endif
}
int