mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-03-27 02:01:51 +01:00
0.3.3-beta
removed recent hello world spam code
This commit is contained in:
parent
01590b6670
commit
e5027dd9db
@ -3,7 +3,7 @@ import 'package:logging/logging.dart';
|
||||
|
||||
// name of executable
|
||||
const String exename = "nostr_console";
|
||||
const String version = "0.3.2-beta-a";
|
||||
const String version = "0.3.3-beta";
|
||||
|
||||
int gDebug = 0;
|
||||
int gSpecificDebug = 0;
|
||||
@ -11,7 +11,7 @@ int gSpecificDebug = 0;
|
||||
final log = Logger('ExampleLogger');
|
||||
|
||||
// for debugging
|
||||
String gCheckEventId = "b9e1824fe65b10f7d06bd5f6dfe1ab3eda876d7243df5878ca0b9686d80c0840f";
|
||||
String gCheckEventId = "xb9e1824fe65b10f7d06bd5f6dfe1ab3eda876d7243df5878ca0b9686d80c0840f";
|
||||
|
||||
|
||||
int gMaxEventLenthAccepted = 80000; // max event size. events larger than this are rejected.
|
||||
|
@ -1399,9 +1399,9 @@ class Store {
|
||||
// add the event to the main event store thats allChildEventsMap
|
||||
newEventsToProcess.forEach((newEvent) {
|
||||
|
||||
if( newEvent.eventData.kind == 1 && newEvent.eventData.content.compareTo("Hello Nostr! :)") == 0 && newEvent.eventData.id.substring(0,2).compareTo("00") == 0) {
|
||||
/*if( newEvent.eventData.kind == 1 && newEvent.eventData.content.compareTo("Hello Nostr! :)") == 0 && newEvent.eventData.id.substring(0,2).compareTo("00") == 0) {
|
||||
return; // spam prevention
|
||||
}
|
||||
}*/
|
||||
|
||||
if( allChildEventsMap.containsKey(newEvent.eventData.id)) {// don't process if the event is already present in the map
|
||||
return;
|
||||
|
@ -1,11 +1,13 @@
|
||||
name: nostr_console
|
||||
description: A multi-platform nostr client built for terminal/console
|
||||
version: 0.3.2-beta-a
|
||||
version: 0.3.3-beta
|
||||
homepage: https://github.com/vishalxl/nostr_console
|
||||
|
||||
|
||||
# reverted yml to 'updated readme checkin' , removed arm64 mention ( still uses matrix logic)
|
||||
# spam prevention aginst hello nostr
|
||||
# 0.3.3
|
||||
# Linux arm64 build added; docker images pushed to github store; and improving of build process by @AaronDewes
|
||||
# added display_name and website field support for reading and updating kind 0 , or profile
|
||||
# color fix - where likes to right of a notification-like were shown in white rather than as colored text
|
||||
|
||||
# 0.3.2
|
||||
# added build for ubuntu arm 64, and mac arm 64
|
||||
|
Loading…
x
Reference in New Issue
Block a user