mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-09 19:04:42 +00:00
[AB-267] fixing some combinations of reaction characters being ignored
This commit is contained in:
@@ -151,6 +151,11 @@ public class EntertainmentServiceBean implements EntertainmentService {
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if(replacedCombos.contains(charAsString) && (!usedReplacements.contains(charAsString) || allowDuplicates)) {
|
||||
usedReplacements.add(charAsString);
|
||||
result.add(charAsString);
|
||||
continue;
|
||||
}
|
||||
// reject any other character, as the ones we can deal with
|
||||
if (!this.reactMapping.getSingle().containsKey(charAsString)) {
|
||||
log.info("Cannot find mapping. Not replacing with emote.");
|
||||
|
||||
Reference in New Issue
Block a user