diff --git a/jitsi-log.py b/jitsi-log.py index ddcea85..225f47a 100755 --- a/jitsi-log.py +++ b/jitsi-log.py @@ -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()