mirror of
https://github.com/plantroon/mx-puppet-xmpp.git
synced 2024-12-27 17:11:40 +00:00
update stuffs
This commit is contained in:
parent
fbe285926f
commit
c57093f69b
878
package-lock.json
generated
878
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -20,7 +20,7 @@
|
|||||||
"events": "^3.0.0",
|
"events": "^3.0.0",
|
||||||
"expire-set": "^1.0.0",
|
"expire-set": "^1.0.0",
|
||||||
"js-yaml": "^3.13.1",
|
"js-yaml": "^3.13.1",
|
||||||
"mx-puppet-bridge": "0.0.42",
|
"mx-puppet-bridge": "0.1.4",
|
||||||
"node-emoji": "^1.10.0",
|
"node-emoji": "^1.10.0",
|
||||||
"node-html-parser": "^1.2.13",
|
"node-html-parser": "^1.2.13",
|
||||||
"tough-cookie": "^4.0.0",
|
"tough-cookie": "^4.0.0",
|
||||||
|
@ -238,6 +238,7 @@ export class Client extends EventEmitter {
|
|||||||
}
|
}
|
||||||
const cookieJar = new toughCookie.CookieJar(this.api.context.cookies);
|
const cookieJar = new toughCookie.CookieJar(this.api.context.cookies);
|
||||||
return await Util.DownloadFile(url, {
|
return await Util.DownloadFile(url, {
|
||||||
|
responseType: "buffer",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: "skypetoken=" + this.api.context.skypeToken.value,
|
Authorization: "skypetoken=" + this.api.context.skypeToken.value,
|
||||||
RegistrationToken: this.api.context.registrationToken.raw,
|
RegistrationToken: this.api.context.registrationToken.raw,
|
||||||
|
Loading…
Reference in New Issue
Block a user