25 lines
1 KiB
Diff
25 lines
1 KiB
Diff
From 28a4296c7f556c251d71d9502681980d46d9fa55 Mon Sep 17 00:00:00 2001
|
|
From: Patrick Totzke <patricktotzke@gmail.com>
|
|
Date: Sun, 16 Feb 2020 10:24:59 +0000
|
|
Subject: [PATCH] Update reference to envelope.body
|
|
|
|
which now should be body_txt as of e067ea2037c10224645f0cb7ab2e020772e612ac
|
|
|
|
fixes #1468
|
|
---
|
|
alot/commands/globals.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
|
|
index f9dc58120..aa1fd4368 100644
|
|
--- a/alot/commands/globals.py
|
|
+++ b/alot/commands/globals.py
|
|
@@ -869,7 +869,7 @@ async def _set_signature(self, ui):
|
|
mimetype = helper.guess_mimetype(sigcontent)
|
|
if mimetype.startswith('text'):
|
|
sigcontent = helper.try_decode(sigcontent)
|
|
- self.envelope.body += '\n' + sigcontent
|
|
+ self.envelope.body_txt += '\n' + sigcontent
|
|
else:
|
|
ui.notify('could not locate signature: %s' % sig,
|
|
priority='error')
|