mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-12 08:01:08 +01:00
Add XMPPConnection.sendStanza(Stanza)
and deprecate sendPacket().
This commit is contained in:
parent
183af99ffb
commit
ed4fa3390f
58 changed files with 183 additions and 167 deletions
|
|
@ -362,7 +362,7 @@ public class ChatManager extends Manager{
|
|||
if (message.getFrom() == null) {
|
||||
message.setFrom(connection().getUser());
|
||||
}
|
||||
connection().sendPacket(message);
|
||||
connection().sendStanza(message);
|
||||
}
|
||||
|
||||
PacketCollector createPacketCollector(Chat chat) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue