diff options
author | href <href@random.sh> | 2021-09-07 08:14:33 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-07 08:14:33 +0200 |
commit | b10f9797cb15d0e8a4e4b5014138dc5bfd875d88 (patch) | |
tree | 67877b6b91db23f768720245d0b5754a2670d87b /lib/lsg_web/live/chat_live.html.heex | |
parent | alcoolog: fix ets (diff) |
live fixes/improvements
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/live/chat_live.html.heex | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/lsg_web/live/chat_live.html.heex b/lib/lsg_web/live/chat_live.html.heex index 717be4f..fc1f582 100644 --- a/lib/lsg_web/live/chat_live.html.heex +++ b/lib/lsg_web/live/chat_live.html.heex @@ -27,14 +27,11 @@ <%= if is_map(message) && Map.get(message, :__struct__) == IRC.Message do %> <li class="flex gap-2 place-items-center message" data-account-id={message.account.id}> - <LSGWeb.Component.naive_date_time_utc datetime={message.at} format="time-24-with-seconds" /> - <span class="inline-block font-bold flex-none cursor-default"><%= message.sender.nick %></span> - <span class="inline-block flex-grow cursor-default"> - <LSGWeb.MessageComponent.content + <LSGWeb.MessageComponent.content + message={message} self={message.account.id == @account_id} text={message.text} /> - </span> </li> <% end %> |