Drop the dot in error event messages.
Synapse has incosistent error messages, some contain a full stop while some don't, to avoid double dots remove our dot.
This commit is contained in:
parent
272e82aa76
commit
1466531d48
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class MatrixErrorEvent(MatrixEvent):
|
|||
@classmethod
|
||||
def from_dict(cls, server, error_prefix, fatal, parsed_dict):
|
||||
try:
|
||||
message = "{prefix}: {error}.".format(
|
||||
message = "{prefix}: {error}".format(
|
||||
prefix=error_prefix,
|
||||
error=parsed_dict["error"])
|
||||
return cls(
|
||||
|
|
Loading…
Reference in a new issue