Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 36fd9cb

Browse files
author
Kerry
authored
display beacon tiles in timeline regardless of labs flag (#8423)
Signed-off-by: Kerry Archibald <[email protected]>
1 parent 12e8534 commit 36fd9cb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/events/EventTileFactory.tsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ import MJitsiWidgetEvent from "../components/views/messages/MJitsiWidgetEvent";
4141
import { hasText } from "../TextForEvent";
4242
import { getMessageModerationState, MessageModerationState } from "../utils/EventUtils";
4343
import HiddenBody from "../components/views/messages/HiddenBody";
44-
import SettingsStore from "../settings/SettingsStore";
4544
import ViewSourceEvent from "../components/views/messages/ViewSourceEvent";
4645
import { shouldDisplayAsBeaconTile } from "../utils/beacon/timeline";
4746

@@ -218,12 +217,7 @@ export function pickFactory(
218217

219218
// Try and pick a state event factory, if we can.
220219
if (mxEvent.isState()) {
221-
if (
222-
shouldDisplayAsBeaconTile(mxEvent) &&
223-
// settings store access here temporarily during labs
224-
// only hit when a beacon_info event is hit
225-
SettingsStore.getValue("feature_location_share_live")
226-
) {
220+
if (shouldDisplayAsBeaconTile(mxEvent)) {
227221
return MessageEventFactory;
228222
}
229223

0 commit comments

Comments
 (0)