Merge pull request #2107 from Bilb/fix-call-button-hidden

hide the call message on feature flag OFF
pull/2108/head
Audric Ackermann 3 years ago committed by GitHub
commit 5596d72fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
"name": "session-desktop",
"productName": "Session",
"description": "Private messaging from your desktop",
"version": "1.7.5",
"version": "1.7.6",
"license": "GPL-3.0",
"author": {
"name": "Loki Project",

@ -206,7 +206,13 @@ const CallButton = () => {
const hasOngoingCall = useSelector(getHasOngoingCall);
const canCall = !(hasIncomingCall || hasOngoingCall);
if (!isPrivate || isMe || !selectedConvoKey || isBlocked) {
if (
!isPrivate ||
isMe ||
!selectedConvoKey ||
isBlocked ||
!window.lokiFeatureFlags.useCallMessage
) {
return null;
}

Loading…
Cancel
Save