neilalexander / seaglass

A truly native Matrix client for macOS - written in Swift/Cocoa, with E2E encryption support
Other
529 stars 34 forks source link

Fix "No preview text" in "Show most recent message in the sidebar" mode #106

Open aaronraimist opened 5 years ago

aaronraimist commented 5 years ago

We can fix this by either showing the last real message or displaying strings for the other types of events like Riot iOS does.

It looks like https://github.com/matrix-org/matrix-ios-kit/blob/develop/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m is the class we could use to get the same strings that appear in Riot iOS' sidebar. I asked Manu why that class isn't in MatrixSDK, will update you when I hear a response.

aaronraimist commented 5 years ago

Manu: "it was decided that the SDK embeds no resources: no images, no sounds, no translation strings"

I guess we can just import MatrixKit as well.