mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 05:22:06 +01:00
Fix EntityTimeManager.getTime(): Set recipient JID
Fixes SMACK-716
This commit is contained in:
parent
a89b9301ad
commit
bcdfb5398a
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ public class EntityTimeManager extends Manager {
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
Time request = new Time();
|
Time request = new Time();
|
||||||
|
// TODO Add Time(Jid) constructor and use this constructor instead
|
||||||
|
request.setTo(jid);
|
||||||
Time response = (Time) connection().createPacketCollectorAndSend(request).nextResultOrThrow();
|
Time response = (Time) connection().createPacketCollectorAndSend(request).nextResultOrThrow();
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue