diff --git a/files/classes/comment.py b/files/classes/comment.py index fb6fe4ae0..a8a5f3180 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -64,8 +64,8 @@ def normalize_urls_runtime(body, v): if v and v.nitter: body = twitter_to_nitter_regex.sub(r'\1https://nitter.net/', body) - if v and v.imginn: - body = body.replace('https://instagram.com/', 'https://imginn.com/') + if v and v.imgsed: + body = body.replace('https://instagram.com/', 'https://imgsed.com/') if not v or v.controversial: captured = [] diff --git a/files/classes/user.py b/files/classes/user.py index c7ed0210a..69ee31cf3 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -103,7 +103,7 @@ class User(Base): newtabexternal = Column(Boolean, default=True) reddit = Column(String, default='old.reddit.com') nitter = Column(Boolean) - imginn = Column(Boolean) + imgsed = Column(Boolean) frontsize = Column(Integer, default=25) controversial = Column(Boolean, default=False) bio = deferred(Column(String)) diff --git a/files/routes/settings.py b/files/routes/settings.py index 7c62c006d..e320a945b 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -159,7 +159,7 @@ def settings_personal_post(v): updated = updated or update_flag("newtab", "newtab") updated = updated or update_flag("newtabexternal", "newtabexternal") updated = updated or update_flag("nitter", "nitter") - updated = updated or update_flag("imginn", "imginn") + updated = updated or update_flag("imgsed", "imgsed") updated = updated or update_flag("controversial", "controversial") updated = updated or update_flag("show_sigs", "show_sigs") updated = updated or update_flag("is_private", "private") diff --git a/files/templates/settings/advanced.html b/files/templates/settings/advanced.html index 35edb363f..0961d626a 100644 --- a/files/templates/settings/advanced.html +++ b/files/templates/settings/advanced.html @@ -103,7 +103,7 @@