mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 20:18:00 +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;
|
||||
|
||||
Time request = new Time();
|
||||
// TODO Add Time(Jid) constructor and use this constructor instead
|
||||
request.setTo(jid);
|
||||
Time response = (Time) connection().createPacketCollectorAndSend(request).nextResultOrThrow();
|
||||
return response;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue