submodules

This commit is contained in:
NanoAim
2025-07-10 11:38:04 +08:00
parent 7f098d059d
commit 8e55d8681d
3 changed files with 7 additions and 4 deletions

2
external/lang vendored

View File

@@ -1,4 +1,7 @@
import { RE_MENTIONS, RE_EVERYONE } from "revolt.js"; import { RE_MENTIONS } from "revolt.js";
// RE_EVERYONE is not exported in the ESM build, define it locally
const RE_EVERYONE = /@everyone/g;
import styled from "styled-components"; import styled from "styled-components";
import { clientController } from "../../../controllers/client/ClientController"; import { clientController } from "../../../controllers/client/ClientController";
import UserShort from "../../common/user/UserShort"; import UserShort from "../../common/user/UserShort";
@@ -76,4 +79,4 @@ export const remarkMention = createComponent("mention", RE_MENTIONS, (match) =>
clientController.getAvailableClient().users.has(match), clientController.getAvailableClient().users.has(match),
); );
export const remarkEveryone = createComponent("everyone", RE_EVERYONE, () => true); export const remarkEveryone = createComponent("everyone", RE_EVERYONE, () => true);