Reduce /read
requests during call
#14177
Labels
0. Needs triage
enhancement
feature: call 📹
Voice and video calls
feature: chat 💬
Chat and system messages
feature: frontend 🖌️
"Web UI" client
performance 🚀
Milestone
The Web utilizes the dedicated
/read
endpoint to mark the chat as read (https://github.com/nextcloud/spreed/blob/main/docs/chat.md#mark-chat-as-read). To reduce the number of queries to the server during a call, the idea is to not use the dedicated read marker endpoint, but set thesetReadMarker
parameter on the long polling request instead: https://github.com/nextcloud/spreed/blob/main/docs/chat.md#chat-apiQuestion raised by @nickvergessen: Would that interfere with the "You have unread messages in the chat" message, when the chat is hidden in a call?
spreed/lib/Controller/ChatController.php
Lines 493 to 496 in 00a8e4a
The text was updated successfully, but these errors were encountered: