~f4814n/frost

bd1fe854dd68f6ec0e1ae0e6fd450e443249c6ef — Fabian Geiselhart 2 months ago e08ed4c
roomhistory: Show decryption errors
1 files changed, 1 insertions(+), 1 deletions(-)

M view/roomhistory/roomhistory.go
M view/roomhistory/roomhistory.go => view/roomhistory/roomhistory.go +1 -1
@@ 145,7 145,7 @@ func (r *view) addEvent(event matrix.Event, appendToEnd bool) {

		if body, ok := event.Content["body"]; event.Type == "m.room.message" && ok {
			e.Text = body.(string)
		} else if e.Text != "" {
		} else if !e.invalid {
			e.invalid = true
			e.Text = "unformattable"
		}