|
@ -7,6 +7,7 @@ import io |
|
|
import signal |
|
|
import signal |
|
|
import sys |
|
|
import sys |
|
|
import pickle |
|
|
import pickle |
|
|
|
|
|
import time |
|
|
|
|
|
|
|
|
from matrix_bot_api.matrix_bot_api import MatrixBotAPI |
|
|
from matrix_bot_api.matrix_bot_api import MatrixBotAPI |
|
|
from matrix_bot_api.mregex_handler import MRegexHandler |
|
|
from matrix_bot_api.mregex_handler import MRegexHandler |
|
@ -709,6 +710,7 @@ def invitations(room_id, state): |
|
|
try: |
|
|
try: |
|
|
global bot |
|
|
global bot |
|
|
bot.client.join_room(room_id) |
|
|
bot.client.join_room(room_id) |
|
|
|
|
|
time.sleep(2) |
|
|
del bot |
|
|
del bot |
|
|
main() |
|
|
main() |
|
|
except: |
|
|
except: |
|
|