about summary refs log tree commit diff stats
path: root/src/xmpp/chat_state.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-12-20 10:45:25 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-12-20 10:45:25 +0100
commit92c8366880bd1617d91e1d38c13ed94b9e0279f3 (patch)
tree62f454d853358db54f0d8afd49f0781c793a94fd /src/xmpp/chat_state.h
parente904b000adb3dd0e05188d552d4210704be10b6f (diff)
downloadprofani-tty-92c8366880bd1617d91e1d38c13ed94b9e0279f3.tar.gz
Dont kill *.char preferences if theme doesnt contain it
So far `/occupants char *`, `/roster contact char *`, `/roster room char #`,
`/roster header char -`, `/occupants header char -` was saved and
loaded from the preferences.

But was overwritten when the theme was loaded. If the theme didn't set
these values the value was just cleared. Despite that it might have been
set in the users preferences.

Funny enough the themes don't operate generally like this.
For example `otr.char` is not cleared.

This is again due to our borked theme/prefs concept
(https://github.com/profanity-im/profanity/issues/1077).

For now let's just use the one set from the preferences if it's set. The
theme will however overwrite it if it is set there.

Fix https://github.com/profanity-im/profanity/issues/1244
Diffstat (limited to 'src/xmpp/chat_state.h')
0 files changed, 0 insertions, 0 deletions