1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
profanity/src
Michael Vetter 3b3c9bf4d5 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.
2020-10-30 15:09:40 +01:00
..
command Fix /correct quotation marks usage 2020-07-23 09:40:22 +02:00
config Since the string from strerror should never be modified, use const. 2020-10-14 09:52:26 +02:00
event Pass window to functions so we dont have to call twice 2020-07-09 16:11:50 +02:00
omemo Since the string from strerror should never be modified, use const. 2020-10-14 09:52:26 +02:00
otr Apply coding style 2020-07-07 14:18:57 +02:00
pgp Since the string from strerror should never be modified, use const. 2020-10-14 09:52:26 +02:00
plugins Dont hilight console once all messages have been read 2020-07-09 15:44:35 +02:00
tools parser.c: Use glib 2020-07-23 09:42:43 +02:00
ui Since the string from strerror should never be modified, use const. 2020-10-14 09:52:26 +02:00
xmpp Print all error stanzas 2020-10-30 15:09:40 +01:00
common.c Basic support for building on NetBSD. 2020-09-04 12:55:20 +02:00
common.h Apply coding style 2020-07-07 14:18:57 +02:00
database.c Since the string from strerror should never be modified, use const. 2020-10-14 09:52:26 +02:00
database.h Apply coding style 2020-07-07 14:18:57 +02:00
log.c Apply coding style 2020-07-07 14:18:57 +02:00
log.h Apply coding style 2020-07-07 14:18:57 +02:00
main.c Apply coding style 2020-07-07 14:18:57 +02:00
profanity.c Apply coding style 2020-07-07 14:18:57 +02:00
profanity.h Apply coding style 2020-07-07 14:18:57 +02:00