mirror of https://gitlab.com/bashrc2/epicyon
Increase emoji chcracter length check
parent
651fa18e5d
commit
9d7856f9c0
2
inbox.py
2
inbox.py
|
@ -1781,7 +1781,7 @@ def _receive_zot_reaction(recent_posts_cache: {},
|
||||||
print('DEBUG: ' + message_json['object']['type'] +
|
print('DEBUG: ' + message_json['object']['type'] +
|
||||||
' content is not string')
|
' content is not string')
|
||||||
return False
|
return False
|
||||||
if len(message_json['object']['content']) > 2:
|
if len(message_json['object']['content']) > 4:
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: content is too long to be an emoji reaction')
|
print('DEBUG: content is too long to be an emoji reaction')
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue