~sircmpwn/aerc

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Make mimetype check consistent across cases

Details
Message ID
<20200906143528.141098-1-joost@joo.st>
DKIM signature
pass
Download raw message
Patch: +1 -1
---
Implemented as discussed on IRC

 widgets/msgviewer.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 587959b..6c69577 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -586,7 +586,7 @@ func (pv *PartViewer) attemptCopy() {
	}
	go func() {
		pv.writeMailHeaders()
		if pv.part.MIMEType == "text" {
		if strings.EqualFold(pv.part.MIMEType, "text") {
			// if the content is plain we can strip ansi control chars
			pv.copySourceToSinkStripAnsi()
		} else {
-- 
2.28.0
Details
Message ID
<20200907052833.nggh4gjosa5lqs3q@feather.localdomain>
In-Reply-To
<20200906143528.141098-1-joost@joo.st> (view parent)
DKIM signature
pass
Download raw message
Merged, thanks.

Cheers,
Reto
Review patch Export thread (mbox)