~xenrox

Recent activity

[PATCH v2] Fix crash if there is no to address for %F 14 days ago

From Thorben Günther to ~sircmpwn/aerc

---
As discussed with bookworm in IRC this should be a more sane approach
since it doesn't spawn an error message.

 lib/format/format.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/format/format.go b/lib/format/format.go
index a070bc9..53d93aa 100644
--- a/lib/format/format.go
+++ b/lib/format/format.go
@@ -125,7 +125,7 @@ func ParseMessageFormat(
 			addr := msg.Envelope.From[0]
 			var val string
[message trimmed]

[PATCH] Fix crash if there is no to address for %F 15 days ago

From Thorben Günther to ~sircmpwn/aerc

diff --git a/lib/format/format.go b/lib/format/format.go
index a070bc9..749c8da 100644
--- a/lib/format/format.go
+++ b/lib/format/format.go
@@ -126,6 +126,9 @@ func ParseMessageFormat(
 			var val string
 
 			if addr.Name == accountFromAddress.Name {
+				if len(msg.Envelope.To) == 0 {
+					return "", nil, errors.New("(no address)")
+				}
 				addr = msg.Envelope.To[0]
 			}
 
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email! 2 months ago

From Thorben Günther to ~sircmpwn/email-test-drive

---
Fixes my first patch.

 xenrox | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 xenrox

diff --git a/xenrox b/xenrox
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/xenrox
@@ -0,0 +1 @@
+I have successfully used git send-email!
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 2 months ago

From Thorben Günther to ~sircmpwn/email-test-drive

---
 xenrox | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 xenrox

diff --git a/xenrox b/xenrox
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/xenrox
@@ -0,0 +1 @@
+I'm about to try git send-email!
-- 
2.23.0
[message trimmed]