Open mdosch opened 3 years ago
This is strange. As far as I see XEP-0086 is supported in Psi+: https://github.com/psi-im/psi/wiki/Supported-XEPs
Yeh, Psi+ supports a lot of deprecated things and does not support some of new ones...
@Ri0n: Can you look this good @mdosch ticket?
In more, there is "reply with nonexistent account" too, specified in profanity-im ticket:
It is more a Psi ticket ^^
да. ошибки не выводит
There are two errors in this case:
<iq id='ID1' from='user@domain.tld' to='reject@yax.im' type='get'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='eu.siacs.conversations.axolotl.devicelist'/>
</pubsub>
</iq>
<iq xml:lang="en" to="user@domain.tld/client" from="reject@yax.im" type="error" id="ID1">
<error type="auth">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
<message to="reject@yax.im" type="chat" id="ID2">
<body>test</body>
<active xmlns="http://jabber.org/protocol/chatstates"/>
<request xmlns="urn:xmpp:receipts"/>
<nick xmlns="http://jabber.org/protocol/nick">Neustradamus</nick>
<origin-id xmlns="urn:xmpp:sid:0" id="ID2"/>
</message>
<message xml:lang="en" to="user@domain.tld/client" from="reject@yax.im" type="error" id="ID2">
<error type="cancel">
<not-allowed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Error handling test</text>
</error>
</message>
Other errors are here:
@mdosch: Your original error is now showed with this commit:
Not allowed.
The recipient or server does not allow any entity to perform the action.
Error handling test
------
Psi+ 1.5.1889:
@Ri0n: But not the PubSub error :/
<iq id='ID1' from='user@domain.tld' to='reject@yax.im' type='get'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='eu.siacs.conversations.axolotl.devicelist'/>
</pubsub>
</iq>
<iq xml:lang="en" to="user@domain.tld/client" from="reject@yax.im" type="error" id="ID1">
<error type="auth">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
Version: 1.4.554 (debian)
When a message is not delivered, Psi+ doesn't show the error therefore you don't know that the message was not delivered (e.g. because it's rejected).
In this case I would expect to get an indication that the message delivery failed and the message
Error handling test
should be shown to the user. But nothing is shown:You can use xmpp:reject@yax.im for testing as it will also reply with an error.