Fix concurrent modification
(cherry picked from commit cff095a4891361c4b0fe26a1d6664b3c844b1f88)
This commit is contained in:
parent
5be58228a1
commit
0ce2a6d79c
1 changed files with 2 additions and 2 deletions
|
@ -114,8 +114,8 @@ public class QuickConversationsService extends AbstractQuickConversationsService
|
|||
|
||||
protected Set<String> gateways(final Account account) {
|
||||
return Stream.concat(
|
||||
account.getGateways("pstn").stream(),
|
||||
account.getGateways("sms").stream()
|
||||
ImmutableList.copyOf(account.getGateways("pstn")).stream(),
|
||||
ImmutableList.copyOf(account.getGateways("sms")).stream()
|
||||
).map(a -> a.getJid().asBareJid().toString()).collect(Collectors.toSet());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue