1
0

test.py 255 B

123456789101112
  1. from metaservicesynced.ejabber import *
  2. import pprint
  3. from core.config import EJ_SERVICE, EJ_HOST
  4. data = {
  5. # "name": room_name,
  6. "service": EJ_SERVICE,
  7. # "host": EJ_HOST,
  8. }
  9. res = ej_execute("muc_online_rooms", data)
  10. pprint.pprint(res.json())