Factor out setting entities to events

This commit is contained in:
Lonami Exo
2019-06-30 16:34:34 +02:00
parent 8c771a842f
commit aa2b3daccc
11 changed files with 69 additions and 100 deletions
-1
View File
@@ -128,7 +128,6 @@ class NewMessage(EventBuilder):
if ori.from_id == ori.to_id.user_id and not ori.fwd_from:
event.message.out = True
event._entities = update._entities
return event
def filter(self, event):