From: Dessalines Date: Tue, 13 Oct 2020 21:04:44 +0000 (-0500) Subject: Fixing RSS for non-local communities. Fixes #53 X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/%22?a=commitdiff_plain;h=7cb650dbd3381e9b3c6535707590bcb85d567797;p=lemmy-ui.git Fixing RSS for non-local communities. Fixes #53 --- diff --git a/src/shared/components/community.tsx b/src/shared/components/community.tsx index 299456b..f430fe9 100644 --- a/src/shared/components/community.tsx +++ b/src/shared/components/community.tsx @@ -52,6 +52,7 @@ import { isBrowser, lemmyHttp, setAuth, + communityRSSUrl, } from '../utils'; import { i18n } from '../i18next'; @@ -320,7 +321,10 @@ export class Community extends Component { @[\\\]]+(\.[^\s"(),.:;<>@[\\\]]+)*)|(".+"))@((\[(?:\d{1,3}\.){3}\d{1,3}])|(([\dA-Za-z\-]+\.)+[A-Za-z]{2,}))$/; return re.test(String(email).toLowerCase());