"Teilnehmer verlässt Raum" hinzu
This commit is contained in:
parent
ea9d151631
commit
54abce2ea7
11
jitsi-log.py
11
jitsi-log.py
|
@ -211,10 +211,15 @@ def process_line(line):
|
||||||
roomList[room_name].addMember(room_member)
|
roomList[room_name].addMember(room_member)
|
||||||
|
|
||||||
# participant is leaving a the room
|
# participant is leaving a the room
|
||||||
leaving_match = leaving.match(erg.group(7))
|
leaving_match = leaving.match(erg.group(7))
|
||||||
if leaving_match:
|
if leaving_match:
|
||||||
room_name = member_match.group(1).strip()
|
try:
|
||||||
room_member = member_match.group(3).strip()
|
room_name = member_match.group(1).strip()
|
||||||
|
room_member = member_match.group(3).strip()
|
||||||
|
except:
|
||||||
|
room_name = 'undefined'
|
||||||
|
room_member = 'undefined'
|
||||||
|
|
||||||
print('{} leaves {}'.format(room_member, room_name))
|
print('{} leaves {}'.format(room_member, room_name))
|
||||||
if room_name in roomList:
|
if room_name in roomList:
|
||||||
roomList[room_name].delMember(room_member)
|
roomList[room_name].delMember(room_member)
|
||||||
|
|
Loading…
Reference in New Issue