Saves some memory
This commit is contained in:
parent
d8901441f6
commit
cb96911da3
|
@ -346,7 +346,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
|
|||
|
||||
public List<Jid> getAcceptedCryptoTargets() {
|
||||
if (mode == MODE_SINGLE) {
|
||||
return Arrays.asList(getJid().toBareJid());
|
||||
return Collections.singletonList(getJid().toBareJid());
|
||||
} else {
|
||||
return getJidListAttribute(ATTRIBUTE_CRYPTO_TARGETS);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue