Commit graph

5 commits

Author SHA1 Message Date
Daniel Gultsch 482dc8cfe9
insert disco items into db 2023-03-01 22:05:36 +01:00
Daniel Gultsch 20962554a4
retrieve blocklist on bind 2023-03-01 22:05:36 +01:00
Daniel Gultsch 9e7bbcc272
offer alternative access to elements and children
instead of Element.findChild(name, namespace) we can now use
Element.getExtension(Extension.class) for registered extensions
2023-03-01 22:05:36 +01:00
Daniel Gultsch 7ee3e07946
Introduce XmppConnection v3
The various layers of the app are too intertwined to refactor them in place.

The C3 refactor is going to create a parallel architecture for all classes that
have too strong of a connection to other parts of the app.

This commit introduces XmppConnection v3 that keeps a lot of the logic of the
privous XmppConnection but cuts ties to XmppConnectionService and the very
stateful `entites.Account`. The latter is replaced by a lightweight immutable
account model.

The reconnection logic has been kept but was moved from XmppConnectionService
to a singleton ConnectionPool.
2023-03-01 22:05:35 +01:00
Daniel Gultsch 94dde9f433
initial set of Room entities 2023-03-01 22:05:35 +01:00