mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39: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
|
@ -35,7 +35,7 @@ public class LastActivityManagerTest extends SmackTestCase {
|
|||
|
||||
// Send a message as the last activity action from connection 1 to
|
||||
// connection 0
|
||||
conn1.sendPacket(new Message(getBareJID(0)));
|
||||
conn1.sendStanza(new Message(getBareJID(0)));
|
||||
|
||||
// Wait 1 seconds to have some idle time
|
||||
try {
|
||||
|
@ -70,7 +70,7 @@ public class LastActivityManagerTest extends SmackTestCase {
|
|||
|
||||
// Send a message as the last activity action from connection 2 to
|
||||
// connection 0
|
||||
conn2.sendPacket(new Message(getBareJID(0)));
|
||||
conn2.sendStanza(new Message(getBareJID(0)));
|
||||
|
||||
// Wait 1 seconds to have some idle time
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue