mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-03-27 02:01:51 +01:00
added support for another positive emoji as reaction
two hands emoji
This commit is contained in:
parent
b8ee45cf08
commit
25191dc675
@ -1956,7 +1956,11 @@ class Store {
|
||||
List<String> validReactionList = ["+", "!"]; // TODO support opposite reactions
|
||||
List<String> opppositeReactions = ['-', "~"];
|
||||
|
||||
if( event.eventData.content == "" || event.eventData.content == "❤️" ) { // cause damus sends blank reactions, and some send heart emojis
|
||||
if ( event.eventData.content == ""
|
||||
|| 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