chore: remove drama

This commit is contained in:
Kieran 2023-03-13 13:53:34 +00:00
parent 3a406aa327
commit f7a9902691
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 0 additions and 17 deletions

View File

@ -41,9 +41,6 @@ export const ProfileCacheExpire = 1_000 * 60 * 30;
export const DefaultRelays = new Map<string, RelaySettings>([
["wss://relay.snort.social", { read: true, write: true }],
["wss://nostr.wine", { read: true, write: false }],
["wss://eden.nostr.land", { read: true, write: false }],
["wss://atlas.nostr.land", { read: true, write: false }],
["wss://relay.orangepill.dev", { read: true, write: false }],
["wss://nos.lol", { read: true, write: false }],
]);
@ -75,15 +72,6 @@ export const RecommendedFollows = [
"1577e4599dd10c863498fe3c20bd82aafaf829a595ce83c5cf8ac3463531b09b", // yegorpetrov
"04c915daefee38317fa734444acee390a8269fe5810b2241e5e6dd343dfbecc9", // ODELL
"7fa56f5d6962ab1e3cd424e758c3002b8665f7b0d8dcee9fe9e288d7751ac194", // verbiricha
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd", // semisol
];
/**
* Mark zaps invalid for the following pubkeys
*/
export const ZapperSpam = [
"e1ff3bfdd4e40315959b08b4fcc8245eaa514637e1d4ec2ae166b743341be1af", // benthecarman
"0827e302f2e1addb2ab7f56a15bbbc63ad8c4dbea72a054dffeb1d6a20557daa", // semisol
];
/**

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");