update stuffs

This commit is contained in:
Sorunome 2021-01-21 19:05:52 +01:00
parent fbe285926f
commit c57093f69b
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
3 changed files with 570 additions and 311 deletions

878
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@
"events": "^3.0.0",
"expire-set": "^1.0.0",
"js-yaml": "^3.13.1",
"mx-puppet-bridge": "0.0.42",
"mx-puppet-bridge": "0.1.4",
"node-emoji": "^1.10.0",
"node-html-parser": "^1.2.13",
"tough-cookie": "^4.0.0",

View File

@ -238,6 +238,7 @@ export class Client extends EventEmitter {
}
const cookieJar = new toughCookie.CookieJar(this.api.context.cookies);
return await Util.DownloadFile(url, {
responseType: "buffer",
headers: {
Authorization: "skypetoken=" + this.api.context.skypeToken.value,
RegistrationToken: this.api.context.registrationToken.raw,