forked from uniborg/uniborg
yank to current chat instead of saved messages
This commit is contained in:
parent
7a90830621
commit
165b100804
|
@ -21,7 +21,7 @@ async def on_yank(event, targets, num_offset):
|
||||||
message = '\n\n'.join(get_message_html(target) for target in targets)
|
message = '\n\n'.join(get_message_html(target) for target in targets)
|
||||||
message, entities = thtml.parse(message)
|
message, entities = thtml.parse(message)
|
||||||
await borg(SaveDraftRequest(
|
await borg(SaveDraftRequest(
|
||||||
peer='me',
|
peer=await event.get_input_chat(),
|
||||||
message=message,
|
message=message,
|
||||||
entities=entities,
|
entities=entities,
|
||||||
no_webpage=True,
|
no_webpage=True,
|
||||||
|
|
Loading…
Reference in New Issue