Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
XMPP サーバー (OpenFire) で MUC のリストを取得する必要があります。XEP 0030 とサービス ディスカバリについて読みましたが、xmpppy での実装に関するドキュメントや例が見つかりません。
を調べてxmpp/features.py、次のようなコードを試してください。
xmpp/features.py
for i in discoverItems(conn, jid.getDomain()): (ids, features) = discoverInfo(conn, i.jid) if NS_MUC in features: print i.jid
(警告: 完全にテストされていません)