about summary refs log tree commit diff stats
path: root/src/xmpp/omemo.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-12-12 22:24:09 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-12-12 22:24:09 +0100
commit9bb2d7f95e12b5a2ce6a957c92efaa6a4171e663 (patch)
treeb1ffa69a8fcc47fc12ba2d341c739c18539614d4 /src/xmpp/omemo.h
parentfd36fcdb1ee78a5aa1a84bc42d32ceeb3653783c (diff)
downloadprofani-tty-9bb2d7f95e12b5a2ce6a957c92efaa6a4171e663.tar.gz
Dont print error message if a valid setting function is called
This is because the actual command that parses itself (cmd_logging) returns false if it didn't get the expected parameters.
Handing the printing however is done by another function. This function is added to the Command struct as setting_function.
So if this is set, and the actual command returns false. We should just call the setting_function and not print the error message.

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