Explorar el Código

Do not print field keys

They are already contained within the fetched string.
Alois Mahdal hace 9 años
padre
commit
08d261e9bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      dotfiles/imapfilter/common/functions.lua

+ 1
- 1
dotfiles/imapfilter/common/functions.lua Ver fichero

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