• Christian Schudt's avatar
    Don't add multiple delayed delivery extension to resent messages. · 81363d82
    Christian Schudt authored
    The issue is that messages, which get resent from offline storage already have an older timestamp.
    
    There should not be another delayed delivery extension, which "overwrites" the old one.
    
    Messages looked like that:
    <message><body>...</body><delay xmlns="urn:xmpp:delay" stamp="2016-01-06T13:48:45.312Z"></delay><delay xmlns="urn:xmpp:delay" stamp="2016-01-06T13:49:56.674Z"></delay></message>
    
    Instead the original timestamp should be preserved.
    81363d82
StreamManager.java 8.11 KB