RSS media url needs to be full url

This commit is contained in:
manetta 2022-02-18 14:59:36 +01:00
parent 644bce53a7
commit ae24757290

View File

@ -137,7 +137,7 @@ class Logbot(Bot):
self.db[message.room]["messages"][new_key]['media'] = {}
self.db[message.room]["messages"][new_key]['media']['post'] = media_post
self.db[message.room]["messages"][new_key]['media']['type'] = media_type
self.db[message.room]["messages"][new_key]['media']['url'] = media_url
self.db[message.room]["messages"][new_key]['media']['url'] = os.path.join("https://vvvvvvaria.org/logs/", media_url)
self.db[message.room]["messages"][new_key]['media']['size'] = media_size
self.db[message.room]["messages"][new_key]['date'] = date
else: