parent
e786ed50ae
commit
3396bee27d
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
|
@ -193,6 +193,7 @@ class AngelBot(ClientXMPP):
|
||||||
furl = await self.plugin["xep_0363"].upload_file(
|
furl = await self.plugin["xep_0363"].upload_file(
|
||||||
fname, content_type=ftype, input_file=outfile
|
fname, content_type=ftype, input_file=outfile
|
||||||
)
|
)
|
||||||
|
self.messages[sender]["links"].add(furl)
|
||||||
message = self.make_message(sender)
|
message = self.make_message(sender)
|
||||||
message["body"] = furl
|
message["body"] = furl
|
||||||
message["type"] = mtype
|
message["type"] = mtype
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue