mirror of
https://codeberg.org/Mercury-IM/Mercury-IM
synced 2024-06-18 09:34:52 +02:00
Remove unused ConnectionRegistry
This commit is contained in:
parent
84b5461c11
commit
ed31f5c8c8
|
@ -1,17 +0,0 @@
|
|||
package org.mercury_im.messenger;
|
||||
|
||||
import org.mercury_im.messenger.entity.Account;
|
||||
import org.mercury_im.messenger.xmpp.MercuryConnection;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
interface ConnectionRegistry {
|
||||
|
||||
default MercuryConnection getConnection(Account account) {
|
||||
return getConnection(account.getId());
|
||||
}
|
||||
|
||||
MercuryConnection getConnection(UUID accountId);
|
||||
|
||||
void addConnection(MercuryConnection connection);
|
||||
}
|
Loading…
Reference in a new issue