about summary refs log tree commit diff stats
path: root/tests/functionaltests/test_receipts.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-10-30 15:09:40 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-10-30 15:09:40 +0100
commit3b3c9bf4d5e46da4c3751809a4e724870ea38a02 (patch)
treeba2f8662bd268542e3d57578fe5758178418376f /tests/functionaltests/test_receipts.c
parent15f45fcfe1b5a4f9c8419eb153b71a9e33c09870 (diff)
downloadprofani-tty-3b3c9bf4d5e46da4c3751809a4e724870ea38a02.tar.gz
Print all error stanzas
Regards https://github.com/profanity-im/profanity/issues/1435

So far we didn't print the error if it contained `<error
type="cancel">`. It appears that the code always thought this is a
service-not-available (so one is either blocked or the account doesn't
exist) and printed `Recipient not found`.

But there can be other errors as well. Like in above mentioned issue
`not-allowed`.

Let's just print the text.

In case of the cancel type we still remove the jid from the chat
sessions. I'm not entirely sure whether this needs to be done in other
cases too.
Diffstat (limited to 'tests/functionaltests/test_receipts.c')
0 files changed, 0 insertions, 0 deletions