mirror of
https://codeberg.org/Mercury-IM/Mercury-IM
synced 2024-06-26 13:34:50 +02:00
Reformat
This commit is contained in:
parent
4491df0dd3
commit
875321ed00
|
@ -75,8 +75,7 @@ public class XmppGroupChatRepository
|
|||
@Override
|
||||
public Single<GroupChat> getOrCreateGroupChat(Account account, String roomAddress) {
|
||||
return getGroupChatByRoomAddress(account, roomAddress)
|
||||
.switchIfEmpty(
|
||||
Single.just(new IGroupChat())
|
||||
.switchIfEmpty(Single.just(new IGroupChat())
|
||||
.map(chat -> {
|
||||
chat.setAccount(account);
|
||||
chat.setRoomAddress(roomAddress);
|
||||
|
|
Loading…
Reference in a new issue