Skip to content

Commit

Permalink
runfix: require feature flag to support mls for m4
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykBuniX committed Oct 19, 2022
1 parent 1e369b7 commit a32154e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/util/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,4 +400,4 @@ export const getSelectionPosition = (element: HTMLTextAreaElement, currentMentio
};

// temporary hack that disables mls for old 'broken' desktop clients, see https://github.com/wireapp/wire-desktop/pull/6094
export const supportsMLS = !Runtime.isDesktopApp() || window.systemCrypto;
export const supportsMLS = Config.getConfig().FEATURE.ENABLE_MLS && (!Runtime.isDesktopApp() || window.systemCrypto);

0 comments on commit a32154e

Please sign in to comment.