Fix style issues brought up during code review.
Signed-off-by: Jimmy Cuadra <jimmy@jimmycuadra.com>
This commit is contained in:
parent
bc71dacaf4
commit
5384b61d95
3 changed files with 4 additions and 3 deletions
|
@ -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
|
- $ref: core-event-schema/event.yaml
|
||||||
|
|
||||||
description: |-
|
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:
|
properties:
|
||||||
content:
|
content:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
@ -910,7 +910,6 @@ class MatrixUnits(Units):
|
||||||
if methods:
|
if methods:
|
||||||
schema["type_with_msgtype"] = schema["type"] + " (" + methods[0] + ")"
|
schema["type_with_msgtype"] = schema["type"] + " (" + methods[0] + ")"
|
||||||
|
|
||||||
|
|
||||||
# Assign state key info if it has some
|
# Assign state key info if it has some
|
||||||
if schema["typeof"] == "State Event":
|
if schema["typeof"] == "State Event":
|
||||||
skey_desc = Units.prop(
|
skey_desc = Units.prop(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue