add: client streams api
fix: mobile chats ui
This commit is contained in:
parent
094dd5fdb5
commit
58d206eb81
12 changed files with 152 additions and 19 deletions
|
@ -125,6 +125,7 @@ macros -%}
|
|||
<script data-turbo-permanent="true" id="update-seen-script">
|
||||
document.documentElement.addEventListener("turbo:load", () => {
|
||||
trigger("me::seen");
|
||||
trigger("streams::user", ["{{ user.id }}"]);
|
||||
|
||||
if (!window.location.pathname.startsWith("/chats/")) {
|
||||
if (window.socket) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue