diff libervia/backend/plugins/plugin_xep_0045.py @ 4395:9c3ca8317e51

core (main): renamed `hasFeature` to `has_feature` to fix inconsistency.
author Goffi <goffi@goffi.org>
date Fri, 05 Sep 2025 19:31:50 +0200
parents b74a76a8e168
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0045.py	Sun Aug 31 12:34:37 2025 +0200
+++ b/libervia/backend/plugins/plugin_xep_0045.py	Fri Sep 05 19:31:50 2025 +0200
@@ -1333,7 +1333,7 @@
 
     async def join(self, room_jid, nick, password=None):
         room_service = jid.JID(room_jid.host)
-        has_mam = await self.host.hasFeature(self.client, mam.NS_MAM, room_service)
+        has_mam = await self.host.has_feature(self.client, mam.NS_MAM, room_service)
         if not self._mam or not has_mam:
             return await self._join_legacy(self.client, room_jid, nick, password)
         else: