diff options
Diffstat (limited to 'backend')
| -rwxr-xr-x | backend/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/views.py b/backend/views.py index 1d7d431..971ecd3 100755 --- a/backend/views.py +++ b/backend/views.py @@ -286,6 +286,7 @@ def store_media_str(room, user, msg): music = None image = None for word in words: + word = word.replace("https", "http") if 'youtube.com' in word: ytid = '' match = YT_ID_RE.match(word) |
