Added libotr

This commit is contained in:
James Booth
2013-08-13 22:23:47 +01:00
parent b1768f942c
commit 10f556f412
5 changed files with 85 additions and 4 deletions

View File

@@ -19,7 +19,6 @@
* along with Profanity. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "config.h"
#include <locale.h>
@@ -40,6 +39,7 @@
#include "contact.h"
#include "log.h"
#include "muc.h"
#include "otr.h"
#include "resource.h"
#include "ui/notifier.h"
#include "ui/ui.h"
@@ -632,6 +632,9 @@ _init(const int disable_tls, char *log_level)
log_info("Initialising contact list");
roster_init();
muc_init();
#ifdef HAVE_LIBOTR
otr_init();
#endif
atexit(_shutdown);
}