refactor passphrase to util

This commit is contained in:
Rohan Sircar 2020-07-20 19:44:41 +05:30
parent 9a4aca88b3
commit 73b4d5d5bf
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import { Credentials } from "../../../common/global/Credentials";
import { MessageCipher } from "../../../common/entity/MessageCipher";
import log from "loglevel";
import { NotificationService } from "../../../common/service/NotificationService";
import { isPassphraseValid } from "../../../common/ajax/passphrase";
import { isPassphraseValid } from "../../../common/util/passphrase";
import {
getAllMessages,
sendReencryptedMessages,

View File

@ -1,7 +1,7 @@
import { EncryptionService } from "../service/EncryptionService";
import { ChatMessageDTO } from "../dto/ChatMessageDTO";
import * as log from "loglevel";
import { getOneMessage } from "./messages";
import { getOneMessage } from "../ajax/messages";
export async function isPassphraseValid(
passphrase: string,