mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
Fixes
This commit is contained in:
parent
23717467f3
commit
c1a8934f6d
2 changed files with 3 additions and 3 deletions
|
@ -32,9 +32,9 @@ export const MessageLoggerStore = createStore("MessageLoggerData", "MessageLogge
|
||||||
|
|
||||||
// this gets used by the logs modal. logs modal should only use saved messages not messages that are being processed
|
// this gets used by the logs modal. logs modal should only use saved messages not messages that are being processed
|
||||||
// also hasMessageInLogs should only check saved messages not the ones that are being processed
|
// also hasMessageInLogs should only check saved messages not the ones that are being processed
|
||||||
export let savedLoggedMessages: LoggedMessages = defaultLoggedMessages;
|
export let savedLoggedMessages: LoggedMessages = { ...defaultLoggedMessages };
|
||||||
|
|
||||||
export let loggedMessages: LoggedMessages = defaultLoggedMessages;
|
export let loggedMessages: LoggedMessages = { ...defaultLoggedMessages };
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -39,7 +39,7 @@ export default definePlugin({
|
||||||
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
|
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /guildDiscoveryRef.{0,300}\}\)\]\}\)\}\)/,
|
match: /lastTargetNode.{0,300}\{\}\)\]\}\)\]/,
|
||||||
replace: "$&.concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Below))"
|
replace: "$&.concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Below))"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue