瀏覽代碼

Do not print field keys

They are already contained within the fetched string.
Alois Mahdal 8 年之前
父節點
當前提交
08d261e9bc
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      dotfiles/imapfilter/common/functions.lua

+ 1
- 1
dotfiles/imapfilter/common/functions.lua 查看文件

@@ -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