diff --git a/plugins/messages/contacts.html b/plugins/messages/contacts.html index db728edfd..00d8d88f1 100644 --- a/plugins/messages/contacts.html +++ b/plugins/messages/contacts.html @@ -17,7 +17,6 @@ <% var types = ["online", "offline", "strangers"]; %> <% var displayed = []; %> <% types.forEach(function(type) { %> - <% if (!contacts[type].length) return; %>

<% if (type == "online") { %> <%= MM.lang.s("onlinecontacts", "core", contacts[type].length) %> diff --git a/plugins/messages/recent.html b/plugins/messages/recent.html index 5a4d44142..e588fd80b 100644 --- a/plugins/messages/recent.html +++ b/plugins/messages/recent.html @@ -2,8 +2,8 @@
+ <% if (messages.length > 0) {%>
- <% if (messages.length > 0) {%> - <% } else { %> -

<%= MM.lang.s("nomessagesfound") %>

- <% } %>
+ <% } else { %> +
+
+

<%= MM.lang.s("nomessagesfound") %>

+
+
+ <% } %>