Fix bei der Member-Liste
This commit is contained in:
parent
b8289b875b
commit
0c408b53c7
|
@ -52,11 +52,10 @@ class MeetingRoom():
|
||||||
ctime: eg 2020-06-01 12:32:02 ..
|
ctime: eg 2020-06-01 12:32:02 ..
|
||||||
"""
|
"""
|
||||||
|
|
||||||
members = []
|
|
||||||
|
|
||||||
def __init__(self, jid, ctime):
|
def __init__(self, jid, ctime):
|
||||||
self.jid = jid
|
self.jid = jid
|
||||||
self.ctime = ctime
|
self.ctime = ctime
|
||||||
|
self.members = []
|
||||||
|
|
||||||
def setOwner(self, name):
|
def setOwner(self, name):
|
||||||
self.owner = name
|
self.owner = name
|
||||||
|
@ -109,7 +108,6 @@ class MyServer(BaseHTTPRequestHandler):
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def getRoomName(jid):
|
def getRoomName(jid):
|
||||||
return jid.split("@")[0].strip()
|
return jid.split("@")[0].strip()
|
||||||
|
|
||||||
|
@ -145,6 +143,7 @@ def process_line(line):
|
||||||
room_name = disposed_room.group(1)
|
room_name = disposed_room.group(1)
|
||||||
print('-> room disposed: {}'.format(room_name))
|
print('-> room disposed: {}'.format(room_name))
|
||||||
if room_name in roomList:
|
if room_name in roomList:
|
||||||
|
|
||||||
del roomList[room_name]
|
del roomList[room_name]
|
||||||
|
|
||||||
owner_match = owner.match(erg.group(7))
|
owner_match = owner.match(erg.group(7))
|
||||||
|
|
Loading…
Reference in New Issue