mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 04:13:18 +01:00
Sender Key: Disable capability and bug fixes
This commit is contained in:
@@ -111,7 +111,13 @@ export async function sendContentMessageToGroup({
|
||||
'sendContentMessageToGroup: textsecure.messaging not available!'
|
||||
);
|
||||
|
||||
if (conversation.isGroupV2()) {
|
||||
const ourConversationId = window.ConversationController.getOurConversationIdOrThrow();
|
||||
const ourConversation = window.ConversationController.get(ourConversationId);
|
||||
|
||||
if (
|
||||
ourConversation?.get('capabilities')?.senderKey &&
|
||||
conversation.isGroupV2()
|
||||
) {
|
||||
try {
|
||||
return await sendToGroupViaSenderKey({
|
||||
contentHint,
|
||||
|
||||
Reference in New Issue
Block a user