Partially revert "Sender Key: Prepare for testing in beta"
Partial revert of commit ab5a12fded
This commit is contained in:
parent
674ea824c2
commit
3bbe859452
4 changed files with 11 additions and 6 deletions
|
@ -19,6 +19,7 @@ import {
|
|||
SenderCertificateMode,
|
||||
SendLogCallbackType,
|
||||
} from '../textsecure/OutgoingMessage';
|
||||
import { isEnabled } from '../RemoteConfig';
|
||||
|
||||
import { isOlderThan } from './timestamp';
|
||||
import {
|
||||
|
@ -146,6 +147,7 @@ export async function sendContentMessageToGroup({
|
|||
const ourConversation = window.ConversationController.get(ourConversationId);
|
||||
|
||||
if (
|
||||
isEnabled('desktop.sendSenderKey2') &&
|
||||
ourConversation?.get('capabilities')?.senderKey &&
|
||||
RemoteConfig.isEnabled('desktop.senderKey.send') &&
|
||||
isGroupV2(conversation.attributes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue