lib/client.rb in navi_client-1.3.5 vs lib/client.rb in navi_client-1.3.6

- old
+ new

@@ -43,10 +43,10 @@ capabilities = imap.capability @logger.debug("imap capabilities: #{capabilities.join(',')}") if @debug if @client_type == 'local' - unless capabilities.include? "IDLE" && @debug + unless capabilities.include? "IDLE" || @debug @logger.info "'IDLE' IMAP capability not available in server: #{server}" imap.disconnect exit end end