mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-21 05:24:06 +01:00
Merge pull request #4657 from matrix-org/travis/linda/spelling
Fix spelling mistakes
This commit is contained in:
commit
4151111d95
3 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,7 @@ instructions that may be required are listed later in this document.
|
||||||
./synctl restart
|
./synctl restart
|
||||||
|
|
||||||
|
|
||||||
To check whether your update was sucessful, you can check the Server header
|
To check whether your update was successful, you can check the Server header
|
||||||
returned by the Client-Server API:
|
returned by the Client-Server API:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
1
changelog.d/4657.misc
Normal file
1
changelog.d/4657.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix various spelling mistakes.
|
|
@ -56,7 +56,7 @@ class KeyConfig(Config):
|
||||||
if not self.macaroon_secret_key:
|
if not self.macaroon_secret_key:
|
||||||
# Unfortunately, there are people out there that don't have this
|
# Unfortunately, there are people out there that don't have this
|
||||||
# set. Lets just be "nice" and derive one from their secret key.
|
# set. Lets just be "nice" and derive one from their secret key.
|
||||||
logger.warn("Config is missing missing macaroon_secret_key")
|
logger.warn("Config is missing macaroon_secret_key")
|
||||||
seed = bytes(self.signing_key[0])
|
seed = bytes(self.signing_key[0])
|
||||||
self.macaroon_secret_key = hashlib.sha256(seed).digest()
|
self.macaroon_secret_key = hashlib.sha256(seed).digest()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue