aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-05-22 21:17:22 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-05-22 21:17:22 +0300
commitc07be789566ef63c24e5d886bcfbe0dcbde3137b (patch)
treeb57c96b9fa60954e92dde5ac4f8bb838c1799485
parentc12c469520de144b5f30382423255f9dc5210fc1 (diff)
downloadrspamd-c07be789566ef63c24e5d886bcfbe0dcbde3137b.tar.gz
rspamd-c07be789566ef63c24e5d886bcfbe0dcbde3137b.zip
[WebUI] Match envelope and mime addresses following in arbitrary order
-rw-r--r--interface/js/app/history.js2
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(",&#8203;") + "] " + item.rcpt_mime.join(",&#8203;");
} else {
item.rcpt_mime = item.rcpt_mime.join(",&#8203;");