Commit ad77ba60 authored by JC Brand's avatar JC Brand

Only show larger text for up to 3 emojis

parent 1b9ba58a
......@@ -330,7 +330,7 @@ converse.plugins.add('converse-emoji', {
*/
isOnlyEmojis (text) {
const words = text.trim().split(/\s+/);
if (words.length === 0 || words.length > 6) {
if (words.length === 0 || words.length > 3) {
return false;
}
const rejects = words.filter(text => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment