core (xmpp): Remove host from SatMessageProtocol:

It is not needed anymore to pass `host` to most classes, as it is now available as a
global variable with `G`.
This commit is contained in:
Goffi 2026-04-21 12:42:45 +02:00
commit e41d2cf26f

View file

@ -45,7 +45,7 @@ class SatMessageProtocolTest(unittest.TestCase):
def setUp(self):
self.host = helpers.FakeSAT()
self.message = xmpp.SatMessageProtocol(self.host)
self.message = xmpp.SatMessageProtocol()
self.message.parent = helpers.FakeClient(self.host)
def test_on_message(self):