Skip to content

Commit

Permalink
feat: changed default value for ServerMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Feb 28, 2024
1 parent 53106ef commit 0e56fa0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Fixed:

Changed:
- Improved user experience in text input when auto-completing a nickname.
- Configuration option `server_messages` changed `exclude` from a boolean value to [`All`, `None` or `!Smart seconds`].
- `All` excludes all messages for the specific server message.
- `None` [default] excludes no messages for the specific server message.
- `!Smart seconds` shows the server message if the user has sent a message in the given time interval (seconds) prior to the server message.

# 2024.1 (2024-02-07)

Expand All @@ -25,7 +29,6 @@ Changed:
- `hidden_server_messages` has been changed to `server_messages` and additional customization has been added:
- Exclude messages [join, part, quit].
- Adjust username format.
- Exclude server messages for users who have not messaged in the last X seconds

Fixed:

Expand Down
2 changes: 1 addition & 1 deletion data/src/config/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ pub struct Buffer {

#[derive(Debug, Copy, Clone, Default, Deserialize)]
pub enum Exclude {
#[default]
All,
#[default]
None,
Smart(i64),
}
Expand Down

0 comments on commit 0e56fa0

Please sign in to comment.