wip
This commit is contained in:
parent
986780a39a
commit
5a49d14246
3 changed files with 4 additions and 5 deletions
|
|
@ -55,8 +55,7 @@ export default class Replacer {
|
|||
|
||||
public replacement(ctx, match, a, b, c) {
|
||||
const client = 'misskey/src/client/app/';
|
||||
const name = ctx.src.substr(ctx.src.indexOf(client) + client.length);
|
||||
if (name == '') return match;
|
||||
const name = ctx ? ctx.src.substr(ctx.src.indexOf(client) + client.length) : null;
|
||||
|
||||
let key = a || b || c;
|
||||
if (key[0] == '@') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue