added support for heart as reaction

counted that as a + like
This commit is contained in:
Vishal 2022-11-15 10:51:34 +05:30
parent 20a599c539
commit b8ee45cf08

View File

@ -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 = "+";
}