chat history support (partial)
This commit is contained in:
parent
31ccd99d0e
commit
159e1f990a
4 changed files with 114 additions and 42 deletions
|
|
@ -270,6 +270,8 @@ class PrivacySettings(CenteredWidget):
|
|||
settings = Settings.get_instance()
|
||||
settings['typing_notifications'] = self.typingNotifications.isChecked()
|
||||
settings['allow_auto_accept'] = self.fileautoaccept.isChecked()
|
||||
if settings['history'] and not self.saveHistory.isChecked(): # clear history
|
||||
Profile.get_instance().clear_history()
|
||||
settings['save_history'] = self.saveHistory.isChecked()
|
||||
settings.save()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue