Fix bei der Member-Liste

This commit is contained in:
Reik Kaps 2020-06-18 23:43:49 +02:00
parent b8289b875b
commit 0c408b53c7

View File

@ -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))