1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Move cast in extra line in ADD_ORIGIN_ID_INTERCEPTOR

This commit is contained in:
Florian Schmaus 2019-02-23 23:40:27 +01:00
parent 4da4558b29
commit 5a2109e73f

View file

@ -49,7 +49,8 @@ public final class StableUniqueStanzaIdManager extends Manager {
private static final StanzaListener ADD_ORIGIN_ID_INTERCEPTOR = new StanzaListener() {
@Override
public void processStanza(Stanza stanza) {
OriginIdElement.addOriginId((Message) stanza);
Message message = (Message) stanza;
OriginIdElement.addOriginId(message);
}
};