mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
@@ -137,12 +137,6 @@ class NewMessage(EventBuilder):
|
||||
else:
|
||||
return
|
||||
|
||||
# Make messages sent to ourselves outgoing unless they're forwarded.
|
||||
# This makes it consistent with official client's appearance.
|
||||
ori = event.message
|
||||
if ori.peer_id == types.PeerUser(self_id) and not ori.fwd_from:
|
||||
event.message.out = True
|
||||
|
||||
return event
|
||||
|
||||
def filter(self, event):
|
||||
|
Reference in New Issue
Block a user