diff --git a/src/protections/MentionSpam.ts b/src/protections/MentionSpam.ts index b4e0e6f..92870f4 100644 --- a/src/protections/MentionSpam.ts +++ b/src/protections/MentionSpam.ts @@ -16,7 +16,7 @@ limitations under the License. import { Protection } from "./IProtection"; import { Mjolnir } from "../Mjolnir"; -import { LogLevel, Permalinks, UserID } from "matrix-bot-sdk"; +import { LogLevel, Permalinks, UserID } from "@vector-im/matrix-bot-sdk"; import { NumberProtectionSetting } from "./ProtectionSettings"; export const DEFAULT_MAX_MENTIONS = 10; diff --git a/test/integration/mentionSpamProtectionTest.ts b/test/integration/mentionSpamProtectionTest.ts index f7694bb..fdaa68d 100644 --- a/test/integration/mentionSpamProtectionTest.ts +++ b/test/integration/mentionSpamProtectionTest.ts @@ -1,6 +1,6 @@ import {newTestUser} from "./clientHelper"; -import {MatrixClient} from "matrix-bot-sdk"; +import {MatrixClient} from "@vector-im/matrix-bot-sdk"; import {getFirstReaction} from "./commands/commandUtils"; import {strict as assert} from "assert"; import { DEFAULT_MAX_MENTIONS } from "../../src/protections/MentionSpam";