mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Fix message entities being kept unparsed for private messages
Closes #386
This commit is contained in:
parent
374dc6d143
commit
ef5fa8f70b
1 changed files with 4 additions and 1 deletions
|
|
@ -151,7 +151,10 @@ class SendMessage(BaseClient):
|
||||||
text=message,
|
text=message,
|
||||||
date=r.date,
|
date=r.date,
|
||||||
outgoing=r.out,
|
outgoing=r.out,
|
||||||
entities=entities,
|
entities=[
|
||||||
|
pyrogram.MessageEntity._parse(None, entity, {})
|
||||||
|
for entity in entities
|
||||||
|
],
|
||||||
client=self
|
client=self
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue