connection.c seems to be the kitchen sink file in Gabble, it holds many parts of our XMPP client implementation. Since conn-presence.c already exists, it would be nice to move all presence related code in to that file to avoid adding further complexity to connection.c as we expand presence implementation. Note, the scope of this bug is limited to presence, a similar (but related) refactor would be to move caps related code in to a future conn-capabilities.c.
This seems like the right direction to be moving in.
Thanks, committed. 84a6dbd0b51d1ade3aee33e3c6f06ddff865f47c
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.