about summary refs log tree commit diff stats
path: root/tests/unittests/test_cmd_join.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-06-06 15:58:05 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-06-06 16:01:19 +0200
commit1e723970ded1579fa7fd06bc0ab7c445fcfd9b5d (patch)
tree1632c64d638ba6f23fd865f6698498cb14270e97 /tests/unittests/test_cmd_join.c
parentc03f9363902fbea96c8a2d35c945b52b27c3f701 (diff)
downloadprofani-tty-1e723970ded1579fa7fd06bc0ab7c445fcfd9b5d.tar.gz
Only complete certain omemo commands if connected
Some of the omemo commands depend on the roster being present.
Several of those functions call `assert()` if that's not the case.

Modify omemo autocompletion in such a way that only things that don't
need the roster will be completed. Only works on first level.

When typing `/omemo` it will still complete to `/omemo start` but not
offer suggestions for that, but print a message that you need to be
connected.

Fix https://github.com/profanity-im/profanity/issues/1117
Diffstat (limited to 'tests/unittests/test_cmd_join.c')
0 files changed, 0 insertions, 0 deletions