mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-26 06:38:24 -04:00
Fixes
This commit is contained in:
parent
3e52910e9b
commit
59c0b604a5
2 changed files with 2 additions and 24 deletions
|
@ -62,8 +62,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "fetchRelationships(){",
|
||||
replacement: {
|
||||
match: /\.then\((\i)=>(\i\.\i\.)dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\)/,
|
||||
replace: ".then($1=>{$2dispatch({type:\"LOAD_RELATIONSHIPS_SUCCESS\",relationships:$3}); $self.getContacts($3)}"
|
||||
match: /\.then\((\i)=>(\i\.\i)\.dispatch\({type:"LOAD_RELATIONSHIPS_SUCCESS",relationships:(\i\.body)}\)/,
|
||||
replace: ".then($1=>{$2.dispatch({type:\"LOAD_RELATIONSHIPS_SUCCESS\",relationships:$3}); $self.getContacts($3)}"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue