Browse Source

Do not print field keys

They are already contained within the fetched string.
Alois Mahdal 9 years ago
parent
commit
08d261e9bc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/imapfilter/common/functions.lua

+ 1
- 1
dotfiles/imapfilter/common/functions.lua View File

@@ -14,7 +14,7 @@ end
14 14
 function _notifirc1(subj, from, body)
15 15
     --notify about message using (pre-configured) notifirc
16 16
     local fd = assert(io.popen('notifirc -f - "message preview:"', "w"))
17
-    local fmt = "> Subject: %s\n> From: %s\n> Body: %s"
17
+    local fmt = "> %s\n> %s\n> BODY: %s"
18 18
     fd:write(fmt:format(subj, from, body))
19 19
     fd:close()
20 20
 end