]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.c
add message storage
[linphone] / coreapi / linphonecore.c
index 69dc26a1edba4f56b47641b3a9332ee4cbbfe305..eac3190616cce1472c13fe9ed6519530f9c9d541 100644 (file)
@@ -1306,6 +1306,9 @@ static void linphone_core_init (LinphoneCore * lc, const LinphoneCoreVTable *vta
 #ifdef TUNNEL_ENABLED
        lc->tunnel=linphone_core_tunnel_new(lc);
        if (lc->tunnel) linphone_tunnel_configure(lc->tunnel);
+#endif
+#ifdef MSG_STORAGE_ENABLED
+       lc->db=linphone_message_storage_init();
 #endif
        if (lc->vtable.display_status)
                lc->vtable.display_status(lc,_("Ready"));