move sync & persistence engine over to own matrix folder

This commit is contained in:
Bruno Windels 2019-02-10 21:33:18 +01:00
parent b57c5abdd6
commit bff0161a05
20 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import HomeServerApi from "./hs-api.js";
import Session from "./session.js";
import createIdbStorage from "./storage/idb/create.js";
import Sync from "./sync.js";
import HomeServerApi from "./matrix/hs-api.js";
import Session from "./matrix/session.js";
import createIdbStorage from "./matrix/storage/idb/create.js";
import Sync from "./matrix/sync.js";
const HOST = "localhost";
const HOMESERVER = `http://${HOST}:8008`;

View File

@ -3,7 +3,7 @@ import {
HomeServerError,
StorageError
} from "./error.js";
import EventEmitter from "./event-emitter.js";
import EventEmitter from "../event-emitter.js";
const INCREMENTAL_TIMEOUT = 30000;
const SYNC_EVENT_LIMIT = 10;