mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Don't stamp outgoing stanza in ChatManager
Servers are required to stamp the 'from' stanza attribute anyways.
This commit is contained in:
parent
2e2d147083
commit
78cf3006ea
1 changed files with 0 additions and 4 deletions
|
@ -375,10 +375,6 @@ public final class ChatManager extends Manager{
|
||||||
interceptor.getKey().processMessage(message);
|
interceptor.getKey().processMessage(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Ensure that messages being sent have a proper FROM value
|
|
||||||
if (message.getFrom() == null) {
|
|
||||||
message.setFrom(connection().getUser());
|
|
||||||
}
|
|
||||||
connection().sendStanza(message);
|
connection().sendStanza(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue