mirror of
https://github.com/moparisthebest/Conversations
synced 2025-01-12 05:58:42 -05:00
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
Block a user