Enable SignalDebug when devtools is enabled
This commit is contained in:
parent
511fc9c1a0
commit
55820bb8a7
3 changed files with 6 additions and 1 deletions
|
@ -48,7 +48,10 @@ window.Whisper.events = clone(window.Backbone.Events);
|
|||
initMessageCleanup();
|
||||
startConversationController();
|
||||
|
||||
if (!isProduction(window.SignalContext.getVersion())) {
|
||||
if (
|
||||
!isProduction(window.SignalContext.getVersion()) ||
|
||||
window.SignalContext.config.devTools
|
||||
) {
|
||||
const SignalDebug = {
|
||||
cdsLookup: (options: CdsLookupOptionsType) =>
|
||||
window.textsecure.server?.cdsLookup(options),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue