|
|
@ -202,7 +202,11 @@ def verifPMRoom(room, event): |
|
|
|
salon = bot.client.join_room(alias) |
|
|
|
except: |
|
|
|
part = [bot.client.user_id,event['sender']] |
|
|
|
salon = bot.client.create_room(alias=alias,invitees=part) |
|
|
|
try: |
|
|
|
salon = bot.client.create_room(alias=alias,invitees=part) |
|
|
|
except: |
|
|
|
print("Impossible de creer ou joindre " + alias) |
|
|
|
return None |
|
|
|
salon.send_text("nouvelle conversation") |
|
|
|
return salon |
|
|
|
|
|
|
|