mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 15:13:02 -04:00
Merge remote-tracking branch 'upstream/dev'
This commit is contained in:
commit
736c0856f5
11 changed files with 385 additions and 29 deletions
|
@ -376,6 +376,9 @@ export default definePlugin({
|
|||
if (!messageLinkRegex.test(props.message.content))
|
||||
return null;
|
||||
|
||||
// need to reset the regex because it's global
|
||||
messageLinkRegex.lastIndex = 0;
|
||||
|
||||
return (
|
||||
<ErrorBoundary>
|
||||
<MessageEmbedAccessory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue