RSS media url needs to be full url
This commit is contained in:
parent
644bce53a7
commit
ae24757290
@ -137,7 +137,7 @@ class Logbot(Bot):
|
|||||||
self.db[message.room]["messages"][new_key]['media'] = {}
|
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']['post'] = media_post
|
||||||
self.db[message.room]["messages"][new_key]['media']['type'] = media_type
|
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]['media']['size'] = media_size
|
||||||
self.db[message.room]["messages"][new_key]['date'] = date
|
self.db[message.room]["messages"][new_key]['date'] = date
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user