diff --git a/jitsi-log.py b/jitsi-log.py index acffb94..41b3c73 100755 --- a/jitsi-log.py +++ b/jitsi-log.py @@ -52,11 +52,10 @@ class MeetingRoom(): ctime: eg 2020-06-01 12:32:02 .. """ - members = [] - def __init__(self, jid, ctime): self.jid = jid self.ctime = ctime + self.members = [] def setOwner(self, name): self.owner = name @@ -109,7 +108,6 @@ class MyServer(BaseHTTPRequestHandler): self.end_headers() - def getRoomName(jid): return jid.split("@")[0].strip() @@ -145,6 +143,7 @@ def process_line(line): room_name = disposed_room.group(1) print('-> room disposed: {}'.format(room_name)) if room_name in roomList: + del roomList[room_name] owner_match = owner.match(erg.group(7))