prevent trolling
This commit is contained in:
parent
313126b6b1
commit
30f99d3797
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -605,7 +605,7 @@ app.get('/blurbs/check', async (req, res) => {
|
|||
const relationLink = dom.window.document.querySelector(
|
||||
`[rel=me][href="https://abtmtr.link/blurbs/#${blurbFromId.id}"]`
|
||||
);
|
||||
if (relationLink != null) {
|
||||
if (relationLink != null && blurbFromId.verified != 1) {
|
||||
await db
|
||||
.updateTable('blurbs')
|
||||
.set({
|
||||
|
@ -635,7 +635,7 @@ app.get('/blurbs/check', async (req, res) => {
|
|||
})
|
||||
});
|
||||
}
|
||||
} else {
|
||||
} else if (relationLink == null) {
|
||||
await db
|
||||
.updateTable('blurbs')
|
||||
.set({
|
||||
|
|
Loading…
Reference in a new issue