Fix style issues brought up during code review.

Signed-off-by: Jimmy Cuadra <jimmy@jimmycuadra.com>
This commit is contained in:
Jimmy Cuadra 2019-06-14 17:35:39 -07:00
parent bc71dacaf4
commit 5384b61d95
3 changed files with 4 additions and 3 deletions

View file

@ -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.

View file

@ -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:

View file

@ -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(