From: Kaio Cesar Date: Mon, 8 Jan 2024 18:59:06 +0000 (-0300) Subject: add embedded file url to recent links list X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=3396bee27dee2ca4e85a827883a0bc61dcf3557f;p=angel.git add embedded file url to recent links list closes #9 --- diff --git a/main.py b/main.py index 9f69ee8..0d00eb3 100644 --- a/main.py +++ b/main.py @@ -193,6 +193,7 @@ class AngelBot(ClientXMPP): furl = await self.plugin["xep_0363"].upload_file( fname, content_type=ftype, input_file=outfile ) + self.messages[sender]["links"].add(furl) message = self.make_message(sender) message["body"] = furl message["type"] = mtype