[Bug]: Chat mute options are saved to prefs file
Open
area: ui
type: bug
ui: chat window
- Dominant language
- Lua
- Stars
- 264
- Forks
- 260
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 21
Description
### Describe the Bug
The chat options store muted players by army index, which is a value unrelated to the actual player. These options are then saved into the preference file, which persists between games, so there is a bug that unrelated players are muted between games due to sharing an army index.
### Reproduce the bug
Mute a player in chat config, exit the application, then start a new game and that player should be muted by default since that's the value in the preference file.
### Screenshots
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.