consistent naming between serialize and deserialize modules

This commit is contained in:
Bruno Windels 2019-05-14 10:53:42 +01:00
parent 036cb02c0e
commit e2388afb51
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ function parseHtmlMessage(html) {
return parts;
}
export default function parseEvent(event) {
export function parseEvent(event) {
const content = event.getContent();
if (content.format === "org.matrix.custom.html") {
return parseHtmlMessage(content.formatted_body);