Disable cache when uploading image

This commit is contained in:
Jarno Rankinen 2022-11-01 22:25:54 +02:00
parent bdf46124bd
commit 3783313af0
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class MatrixModule(BotModule):
async def get_snapshot(self, camid, bot, room, event):
imgurl = f"{self.motionurl.replace(':8080',':8081')}/{camid}/current"
self.logger.info(f"Fetching image from {imgurl}")
await bot.upload_and_send_image(room, imgurl, event)
await bot.upload_and_send_image(room, imgurl, event, no_cache=True)
def help(self):
return self.helptext.splitlines()[0]