Replace mentions with text when forwarding
This commit is contained in:
parent
1f65a4491f
commit
026f574fdb
4 changed files with 39 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -127,7 +127,7 @@ export function makeVideoScreenshot({
|
|||
strictAssert(context, 'Failed to get canvas context');
|
||||
context.drawImage(video, 0, 0, canvas.width, canvas.height);
|
||||
|
||||
video.addEventListener('loadeddata', seek);
|
||||
video.removeEventListener('loadeddata', seek);
|
||||
video.removeEventListener('seeked', capture);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue