Don't display error messasge unless riece-debug.
authorueno <ueno>
Wed, 26 Apr 2006 07:37:49 +0000 (07:37 +0000)
committerueno <ueno>
Wed, 26 Apr 2006 07:37:49 +0000 (07:37 +0000)
lisp/riece-epg.el

index 0ac63a9..55d2083 100644 (file)
              0 (length (riece-message-text message))
              'riece-epg-encryption-target (riece-message-target message)
              (riece-message-text message))
-            (message "%s" (cdr error)))))))
+            (if riece-debug
+                (message "Couldn't decrypt: %s" (cdr error))))))))
   message)
 
 (defun riece-epg-add-encrypted-button (start end)