chore: remove drama

This commit is contained in:
2023-03-13 13:53:34 +00:00
parent 3a406aa327
commit f7a9902691
2 changed files with 0 additions and 17 deletions

View File

@ -10,7 +10,6 @@ import Text from "Element/Text";
import ProfileImage from "Element/ProfileImage";
import { RootState } from "State/Store";
import { findTag } from "Util";
import { ZapperSpam } from "Const";
import { UserCache } from "State/Users/UserCache";
import messages from "./messages";
@ -54,10 +53,6 @@ export function parseZap(zapReceipt: TaggedRawEvent): ParsedZap {
ret.valid = false;
ret.errors.push("description_hash does not match zap request");
}
if (ZapperSpam.includes(zapReceipt.pubkey)) {
ret.valid = false;
ret.errors.push("zapper is banned");
}
if (findTag(zapRequest, "p") !== findTag(zapReceipt, "p")) {
ret.valid = false;
ret.errors.push("p tags dont match");