Fix timeouts
// FREEBIE
This commit is contained in:
parent
3525e9f445
commit
ce0e39aaa7
2 changed files with 4 additions and 4 deletions
|
@ -37818,9 +37818,9 @@ var TextSecureServer = (function() {
|
|||
urlParameters : '/' + id,
|
||||
responseType : 'json',
|
||||
validateResponse : {location: 'string'},
|
||||
timeout : 0
|
||||
}).then(function(response) {
|
||||
return ajax(response.location, {
|
||||
timeout : 0,
|
||||
type : "GET",
|
||||
responseType: "arraybuffer",
|
||||
contentType : "application/octet-stream"
|
||||
|
@ -37832,9 +37832,9 @@ var TextSecureServer = (function() {
|
|||
call : 'attachment',
|
||||
httpType : 'GET',
|
||||
responseType : 'json',
|
||||
timeout : 0
|
||||
}).then(function(response) {
|
||||
return ajax(response.location, {
|
||||
timeout : 0,
|
||||
type : "PUT",
|
||||
contentType : "application/octet-stream",
|
||||
data : encryptedBin,
|
||||
|
|
|
@ -381,9 +381,9 @@ var TextSecureServer = (function() {
|
|||
urlParameters : '/' + id,
|
||||
responseType : 'json',
|
||||
validateResponse : {location: 'string'},
|
||||
timeout : 0
|
||||
}).then(function(response) {
|
||||
return ajax(response.location, {
|
||||
timeout : 0,
|
||||
type : "GET",
|
||||
responseType: "arraybuffer",
|
||||
contentType : "application/octet-stream"
|
||||
|
@ -395,9 +395,9 @@ var TextSecureServer = (function() {
|
|||
call : 'attachment',
|
||||
httpType : 'GET',
|
||||
responseType : 'json',
|
||||
timeout : 0
|
||||
}).then(function(response) {
|
||||
return ajax(response.location, {
|
||||
timeout : 0,
|
||||
type : "PUT",
|
||||
contentType : "application/octet-stream",
|
||||
data : encryptedBin,
|
||||
|
|
Loading…
Reference in a new issue