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:
poljar (Damir Jelić) 2018-02-14 14:53:07 +01:00
parent 272e82aa76
commit 1466531d48

View file

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