From 36fd9cb0d4a77e11e3f49228fdeaa417fedb5396 Mon Sep 17 00:00:00 2001 From: Kerry Date: Fri, 29 Apr 2022 16:12:10 +0200 Subject: [PATCH] display beacon tiles in timeline regardless of labs flag (#8423) Signed-off-by: Kerry Archibald --- src/events/EventTileFactory.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/events/EventTileFactory.tsx b/src/events/EventTileFactory.tsx index f122329ee5..1771310823 100644 --- a/src/events/EventTileFactory.tsx +++ b/src/events/EventTileFactory.tsx @@ -41,7 +41,6 @@ import MJitsiWidgetEvent from "../components/views/messages/MJitsiWidgetEvent"; import { hasText } from "../TextForEvent"; import { getMessageModerationState, MessageModerationState } from "../utils/EventUtils"; import HiddenBody from "../components/views/messages/HiddenBody"; -import SettingsStore from "../settings/SettingsStore"; import ViewSourceEvent from "../components/views/messages/ViewSourceEvent"; import { shouldDisplayAsBeaconTile } from "../utils/beacon/timeline"; @@ -218,12 +217,7 @@ export function pickFactory( // Try and pick a state event factory, if we can. if (mxEvent.isState()) { - if ( - shouldDisplayAsBeaconTile(mxEvent) && - // settings store access here temporarily during labs - // only hit when a beacon_info event is hit - SettingsStore.getValue("feature_location_share_live") - ) { + if (shouldDisplayAsBeaconTile(mxEvent)) { return MessageEventFactory; }