"Teilnehmer verlässt Raum" hinzu
This commit is contained in:
parent
fbe9aec221
commit
ea9d151631
|
@ -45,11 +45,11 @@ owner_regex = r"Granted\sowner\sto\s([a-z0-9-]+)\@(.*)\/(.*)"
|
|||
owner = re.compile(owner_regex)
|
||||
|
||||
# get member for room
|
||||
member_regex = r"^Member\s(.*)@(.*)\/(.*)\sjoined."
|
||||
member_regex = r"^Member\s(.*)@(.*)\/(.*)\s(joined)."
|
||||
member = re.compile(member_regex)
|
||||
|
||||
# remove/leaving member
|
||||
leaving_regex = r"^Member\s(.*)@(.*)\/(.*)\sis\sleaving"
|
||||
leaving_regex = r"^Member\s(.*)@(.*)\/(.*)\sis\s(leaving)"
|
||||
leaving = re.compile(leaving_regex)
|
||||
|
||||
|
||||
|
@ -212,7 +212,6 @@ def process_line(line):
|
|||
|
||||
# participant is leaving a the room
|
||||
leaving_match = leaving.match(erg.group(7))
|
||||
print(leaving_match.group(0))
|
||||
if leaving_match:
|
||||
room_name = member_match.group(1).strip()
|
||||
room_member = member_match.group(3).strip()
|
||||
|
|
Loading…
Reference in New Issue