-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profanity doesn't show error messages #1435
Comments
In Code: https://github.com/profanity-im/profanity/blob/master/src/xmpp/message.c#L825 If anybody knows more I'm eager to hear it. |
|
Regards #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.
@mdosch should be better now. Please give feedback :) |
reply with nonexistent account:
|
If a message is not delivered but an error reply is sent profanity doesn't show the error.
You can test this by writing to xmpp:[email protected] (an example of a stanza sent by [email protected] can be seen at psi-plus/main#788 )
Expected Behavior
The error message should be shown to the user.
Current Behavior
There is no indication that the message was not successfully sent.
Possible Solution
Environment
Debian Testing (Bullseye)
The text was updated successfully, but these errors were encountered: