|
@@ -501,13 +501,7 @@ func (ml *messagesList) drawDefaultMessage(builder *tview.LineBuilder, message d
|
|
|
attachmentStyle := ui.MergeStyle(baseStyle, ml.cfg.Theme.MessagesList.AttachmentStyle.Style)
|
|
attachmentStyle := ui.MergeStyle(baseStyle, ml.cfg.Theme.MessagesList.AttachmentStyle.Style)
|
|
|
for _, a := range message.Attachments {
|
|
for _, a := range message.Attachments {
|
|
|
builder.NewLine()
|
|
builder.NewLine()
|
|
|
- if ml.cfg.ShowAttachmentLinks {
|
|
|
|
|
- builder.Write(a.Filename+":", attachmentStyle)
|
|
|
|
|
- builder.NewLine()
|
|
|
|
|
- builder.Write(a.URL, attachmentStyle.Url(a.URL))
|
|
|
|
|
- } else {
|
|
|
|
|
- builder.Write(a.Filename, attachmentStyle)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ builder.Write(a.Filename, attachmentStyle.Url(a.URL))
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Thread indicator
|
|
// Thread indicator
|