mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02: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
|
@ -578,7 +578,7 @@ public class EnhancedDebugger implements SmackDebugger {
|
|||
if (!"".equals(adhocMessages.getText())) {
|
||||
AdHocPacket packetToSend = new AdHocPacket(adhocMessages.getText());
|
||||
try {
|
||||
connection.sendPacket(packetToSend);
|
||||
connection.sendStanza(packetToSend);
|
||||
}
|
||||
catch (NotConnectedException e1) {
|
||||
e1.printStackTrace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue