Replace mentions with text when forwarding

This commit is contained in:
Scott Nonnenberg
2022-07-21 09:26:11 -07:00
committed by GitHub
parent 1f65a4491f
commit 026f574fdb
4 changed files with 39 additions and 4 deletions

View File

@@ -7,6 +7,10 @@ import type { AttachmentType } from './Attachment';
import type { EmbeddedContactType } from './EmbeddedContact';
import type { IndexableBoolean, IndexablePresence } from './IndexedDB';
export function getMentionsRegex(): RegExp {
return /\uFFFC/g;
}
export type Message = (
| UserMessage
| VerifiedChangeMessage