Sender Key: Disable capability and bug fixes
This commit is contained in:
parent
33595646c1
commit
5a4fc5e425
6 changed files with 95 additions and 53 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue