Added libotr

This commit is contained in:
James Booth
2013-08-13 22:23:47 +01:00
parent be653667e4
commit bd1c139429
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"
#ifdef HAVE_GIT_VERSION
@@ -44,6 +43,7 @@
#include "contact.h"
#include "log.h"
#include "muc.h"
#include "otr.h"
#include "resource.h"
#include "ui/notifier.h"
#include "ui/ui.h"
@@ -648,6 +648,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);
}