Fix style issues brought up during code review.

Signed-off-by: Jimmy Cuadra <jimmy@jimmycuadra.com>
pull/977/head
Jimmy Cuadra 5 years ago
parent bc71dacaf4
commit 5384b61d95

@ -1 +1 @@
Clarify the distinction between *m.key.verification.start* and its *m.sas.v1* variant.
Clarify the distinction between ``m`.key.verification.start` and its `m`.`sas.v1` variant.

@ -3,7 +3,9 @@ allOf:
- $ref: core-event-schema/event.yaml
description: |-
Begins a key verification process. Typically sent as a `to-device`_ event. The ``method`` field determines the type of verification. The fields in the event will differ depending on the ``method``. This definition includes fields that are in common among all variants.
Begins a key verification process. Typically sent as a `to-device`_ event. The ``method``
field determines the type of verification. The fields in the event will differ depending
on the ``method``. This definition includes fields that are in common among all variants.
properties:
content:
properties:

@ -910,7 +910,6 @@ class MatrixUnits(Units):
if methods:
schema["type_with_msgtype"] = schema["type"] + " (" + methods[0] + ")"
# Assign state key info if it has some
if schema["typeof"] == "State Event":
skey_desc = Units.prop(

Loading…
Cancel
Save