mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 15:32:06 +01:00
Move cast in extra line in ADD_ORIGIN_ID_INTERCEPTOR
This commit is contained in:
parent
4da4558b29
commit
5a2109e73f
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ public final class StableUniqueStanzaIdManager extends Manager {
|
||||||
private static final StanzaListener ADD_ORIGIN_ID_INTERCEPTOR = new StanzaListener() {
|
private static final StanzaListener ADD_ORIGIN_ID_INTERCEPTOR = new StanzaListener() {
|
||||||
@Override
|
@Override
|
||||||
public void processStanza(Stanza stanza) {
|
public void processStanza(Stanza stanza) {
|
||||||
OriginIdElement.addOriginId((Message) stanza);
|
Message message = (Message) stanza;
|
||||||
|
OriginIdElement.addOriginId(message);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue