refactor(config): move subject

This commit is contained in:
vulet 2021-01-14 20:00:03 +08:00
parent 65809d235b
commit 57fe623ebe
2 changed files with 4 additions and 4 deletions

View file

@ -70,7 +70,7 @@ exports.runQuery = async (client, room, userInput, registrar, { isReply, hasMedi
if(!chunks.length || chunks.length < !!isReply + !!hasMedia) throw '';
let replyId = null;
let mediaURL = null;
const subject = hasSubject ? registrar.config.matrix.subject : null;
const subject = hasSubject ? registrar.config.fediverse.subject : null;
if(isReply) {
replyId = chunks[0];
chunks.shift();