Unread marker takes hidden messages into account.

This commit is contained in:
Michael van Tricht 2017-04-06 13:09:55 +02:00
parent 23981e8de0
commit bcbd29cd22

View file

@ -443,7 +443,8 @@ $(function() {
data
]);
if (data.msg.self) {
if (data.msg.self
|| container.find("div:visible").last().hasClass("unread-marker")) {
container
.find(".unread-marker")
.appendTo(container);