mirror of https://github.com/tooot-app/app
Merge branch 'main' into candidate
This commit is contained in:
commit
5ca3e3df96
|
@ -34,7 +34,7 @@
|
|||
"content": {
|
||||
"root": {
|
||||
"header": {
|
||||
"postingAs": "Publicant la publicació com a @{{acct}}@{{domain}}",
|
||||
"postingAs": "Publicant com a @{{acct}}@{{domain}}",
|
||||
"spoilerInput": {
|
||||
"placeholder": "Missatge d'alerta d'espòiler"
|
||||
},
|
||||
|
|
|
@ -182,7 +182,7 @@ const TabMePush: React.FC = () => {
|
|||
} else {
|
||||
// Fix a bug for some users of v4.8.0
|
||||
let authKey = push.key
|
||||
if (push.key.length <= 10) {
|
||||
if (push.key?.length <= 10) {
|
||||
authKey = fromByteArray(Random.getRandomBytes(16))
|
||||
}
|
||||
// Turning on
|
||||
|
@ -228,7 +228,7 @@ const TabMePush: React.FC = () => {
|
|||
body: {
|
||||
accountFull,
|
||||
serverKey: res.body.server_key,
|
||||
auth: push.decode === false ? null : push.key
|
||||
auth: push.decode === false ? null : authKey
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue