diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-05-22 21:17:22 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-05-22 21:17:22 +0300 |
commit | c07be789566ef63c24e5d886bcfbe0dcbde3137b (patch) | |
tree | b57c96b9fa60954e92dde5ac4f8bb838c1799485 | |
parent | c12c469520de144b5f30382423255f9dc5210fc1 (diff) | |
download | rspamd-c07be789566ef63c24e5d886bcfbe0dcbde3137b.tar.gz rspamd-c07be789566ef63c24e5d886bcfbe0dcbde3137b.zip |
[WebUI] Match envelope and mime addresses following in arbitrary order
-rw-r--r-- | interface/js/app/history.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js index d686a50ca..3d73c034f 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -171,7 +171,7 @@ function($, _, Humanize) { "value": scan_time }; item.id = item['message-id']; - if (JSON.stringify(item.rcpt_smtp) !== JSON.stringify(item.rcpt_mime)) { + if ($(item.rcpt_mime).not(item.rcpt_smtp).length !== 0 || $(item.rcpt_smtp).not(item.rcpt_mime).length !== 0) { item.rcpt_mime = "[" + item.rcpt_smtp.join(",​") + "] " + item.rcpt_mime.join(",​"); } else { item.rcpt_mime = item.rcpt_mime.join(",​"); |