mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-12 18:49:39 +02:00
Correct method name to getUndecidedDevices
This commit is contained in:
parent
9d63baf55a
commit
419f6a336e
2 changed files with 13 additions and 13 deletions
|
@ -35,20 +35,20 @@ public class UndecidedOmemoIdentityException extends Exception {
|
|||
}
|
||||
|
||||
/**
|
||||
* Return the HashSet of untrusted devices.
|
||||
* Return the HashSet of undecided devices.
|
||||
*
|
||||
* @return untrusted devices
|
||||
* @return undecided devices
|
||||
*/
|
||||
public HashSet<OmemoDevice> getUntrustedDevices() {
|
||||
public HashSet<OmemoDevice> getUndecidedDevices() {
|
||||
return this.devices;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add all untrusted devices of another Exception to this Exceptions HashSet of untrusted devices.
|
||||
* Add all undecided devices of another Exception to this Exceptions HashSet of undecided devices.
|
||||
*
|
||||
* @param other other Exception
|
||||
*/
|
||||
public void join(UndecidedOmemoIdentityException other) {
|
||||
this.devices.addAll(other.getUntrustedDevices());
|
||||
this.devices.addAll(other.getUndecidedDevices());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue