fix: Localize reactions
In notifications in FluffyChat we have "Unknown event m.reaction" for reactions. But it should just be enough to display the body so it should look like: "username: :thumbs_up_emoji:"
This commit is contained in:
parent
5a72287d41
commit
326f1f3223
|
|
@ -216,6 +216,7 @@ abstract class EventLocalizations {
|
|||
_localizedBodyNormalMessage(event, i18n, body),
|
||||
EventTypes.Message: (event, i18n, body) =>
|
||||
_localizedBodyNormalMessage(event, i18n, body),
|
||||
EventTypes.Reaction: null,
|
||||
EventTypes.Reaction: (event, i18n, body) =>
|
||||
_localizedBodyNormalMessage(event, i18n, body),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue