mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-14 11:48:16 +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;
|
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
|
// reject any other character, as the ones we can deal with
|
||||||
if (!this.reactMapping.getSingle().containsKey(charAsString)) {
|
if (!this.reactMapping.getSingle().containsKey(charAsString)) {
|
||||||
log.info("Cannot find mapping. Not replacing with emote.");
|
log.info("Cannot find mapping. Not replacing with emote.");
|
||||||
|
|||||||
Reference in New Issue
Block a user