renamed "messagingService" to "ws"

This commit is contained in:
zadam
2019-08-26 20:21:43 +02:00
parent d039a5f24e
commit 36c87b7fa0
21 changed files with 52 additions and 52 deletions

View File

@@ -3,7 +3,7 @@ import utils from "./utils.js";
import Branch from "../entities/branch.js";
import server from "./server.js";
import treeCache from "./tree_cache.js";
import messagingService from "./messaging.js";
import ws from "./ws.js";
import hoistedNoteService from "./hoisted_note.js";
async function prepareTree() {
@@ -100,7 +100,7 @@ async function prepareRealBranch(parentNote) {
const childBranches = await parentNote.getChildBranches();
if (!childBranches) {
messagingService.logError(`No children for ${parentNote}. This shouldn't happen.`);
ws.logError(`No children for ${parentNote}. This shouldn't happen.`);
return;
}