BareRTC/src/lib
Noah Petherbridge 885adda156 Echo Public Channel Messages
Add a feature where recent public channel messages can be echoed back to
newly joining users when they enter the chat room.

* Configure in settings.toml with EchoMessagesOnJoin. 0 = disable storage.
* Messages are stored in RAM and lost on a server reboot.
* A buffer of recent public messages per channel can be kept, e.g. for the
  10 most recent messages.
* The settings can be reloaded with /reconfigure and the message buffers
  will rebalance on the next message sent.
* When a new user logs in, a new "echo" message is sent that contains all
  of the echoed messages on a "messages" list, in one WebSocket packet.
* Echoed messages are put above the ChatServer welcome messages.
* If a message is taken back, it's removed from the echo message buffer.

Other Changes

* Don't broadcast Presence messages within 30 seconds of the server boot, to
  lessen a flood of messages when a lot of users were connected at reboot.
* Change the default "Join messages" setting on front-end to hide them in
  public channels.
* For the admin buttons in ProfileModal, use the AlertModal instead of native
  browser prompts.
2025-02-17 22:08:25 -08:00
..
browsers.js Improve WebRTC connection for Safari browsers 2024-05-07 20:54:13 -07:00
ChatClient.js Echo Public Channel Messages 2025-02-17 22:08:25 -08:00
LocalStorage.js Various fixes regarding red cameras 2024-09-21 15:48:47 -07:00
sounds.js Sound effect for public channel @mentions 2024-06-19 13:20:19 -07:00
StatusMessage.js Bugfix on iPad display + Working Out status 2025-02-06 04:43:48 +00:00
VideoFlag.js Prefers non-explicit and option to expressly remember closed videos 2023-10-14 12:24:30 -07:00
watermark.js Watermark QR code over webcam feeds to deter screen recording 2024-10-02 20:33:57 -07:00