mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-03-27 02:01:51 +01:00
added support for heart as reaction
counted that as a + like
This commit is contained in:
parent
20a599c539
commit
b8ee45cf08
@ -1956,7 +1956,7 @@ class Store {
|
||||
List<String> validReactionList = ["+", "!"]; // TODO support opposite reactions
|
||||
List<String> opppositeReactions = ['-', "~"];
|
||||
|
||||
if( event.eventData.content == "" ) { // cause damus sends blank reactions
|
||||
if( event.eventData.content == "" || event.eventData.content == "❤️" ) { // cause damus sends blank reactions, and some send heart emojis
|
||||
event.eventData.content = "+";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user