Skip to content
Snippets Groups Projects
Commit eaa08728 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Save instant message history (notifications and telegrams)

This should address issue (feature request) #196.

The last 20 sets of displayed messages are stored as data/msgs/<user-num>.last.#.msg. This number is currently hard-coded, but could be configurable in the future. I say "sets" because messages are batched-up and displayed together normally, unless a user is actively polling for new users (e.g. while at the Ctrl-P/PrivateMsg prompt).

This involved getting rid of some copy/pasta in sbbs_t:getsmsg() as well by creating/using/reusing readsmsg().
parent 1c79c278
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment