jhalter / mobius

A Hotline server implemented in Golang for macOS, Linux, and Windows operating systems
MIT License
78 stars 8 forks source link

Send the last X lines of chat when connecting #105

Open Knezzen opened 1 year ago

Knezzen commented 1 year ago

Feature request incoming.

It would be cool to be able to send a newly connected user the last X lines of chat, just to get up to speed on conversation. I feel like this is a huge factor in why many users just connect and stay for less than a minute before disconnecting. Adding this as an option to Mobius on the server side would be cool. No idea how to implement this to stop chat being flooded for everyone else as well.

jhalter commented 1 year ago

Hey Knezzen, thanks for the idea.

The chat is sent to each user individually, so it should be doable if the server keeps track of the chat messages.

I'll consider this as an option for the server config.