psi-plus / main

Main repository with patches and required resources
https://psi-plus.com/
GNU Lesser General Public License v2.1
68 stars 20 forks source link

History bug #674

Closed Neustradamus closed 7 years ago

Neustradamus commented 7 years ago

When we :

Note: The contact with Psi+ has good messages in history.

psi bugs

Neustradamus commented 7 years ago

1/

<message to="user2@example.tld" id="aad1a">
<subject></subject>
<body>test message 1702132050
</body>
</message>

2/

<message to="user2@example.tld" type="chat" id="xxxxx">
<body>test chat
</body>
<active xmlns="http://jabber.org/protocol/chatstates"/>
<request xmlns="urn:xmpp:receipts"/>
</message>

<message to="user1@example.tld/Psi+" from="user2@example.tld/Psi+" id="yyyyy">
<received xmlns="urn:xmpp:receipts" id="xxxxx"/>
</message>

user1@example.tld : Sender user2@example.tld : Recipient

We can see in the same time that:

<active xmlns="http://jabber.org/protocol/chatstates"/>
<request xmlns="urn:xmpp:receipts"/>

is missing for first choice!

liuch commented 7 years ago

Fixed: https://github.com/psi-im/psi/commit/533ca0ef26b16ff848c8f83482a4ac6f9defd38c