From f5c0ed776e13903605c58337fe854ccbe8b9498d Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Tue, 15 Aug 2023 13:09:13 +0200 Subject: [PATCH] fix: Do not include (nearly) empty chats --- priv/templates/http/chats.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/templates/http/chats.eex b/priv/templates/http/chats.eex index 7feb788..c37fc9d 100644 --- a/priv/templates/http/chats.eex +++ b/priv/templates/http/chats.eex @@ -2,7 +2,7 @@
- <%= for chat when chat.num_messages > 5 <- chats do %> + <%= for chat when chat.num_messages > 10 and length(chat.accounts) > 1 <- chats do %>