Closed BlitzOffline closed 1 year ago
Users hold a reference to a Channel in memory but when the config is updated that Channel is not updated so this can lead to unwanted behavior.
https://github.com/HelpChat/ChatChat/blob/77e413d4ac42b2f0b5e40e204feaca08c1ebe9f4/plugin/src/main/java/at/helpch/chatchat/user/ChatUserImpl.java#L48-L51
https://github.com/HelpChat/ChatChat/blob/77e413d4ac42b2f0b5e40e204feaca08c1ebe9f4/plugin/src/main/java/at/helpch/chatchat/config/ConfigManager.java#L40-L50
Users hold a reference to a Channel in memory but when the config is updated that Channel is not updated so this can lead to unwanted behavior.
https://github.com/HelpChat/ChatChat/blob/77e413d4ac42b2f0b5e40e204feaca08c1ebe9f4/plugin/src/main/java/at/helpch/chatchat/user/ChatUserImpl.java#L48-L51
https://github.com/HelpChat/ChatChat/blob/77e413d4ac42b2f0b5e40e204feaca08c1ebe9f4/plugin/src/main/java/at/helpch/chatchat/config/ConfigManager.java#L40-L50