matrix-chatgpt-bot
matrix-chatgpt-bot copied to clipboard
Room key error. I will leave the room, please reinvite me!
Hello,
after some time using ChatGPT in a room, it just left the room with that error message.
Reinviting him shows following:
bot.chatgpt
👋 Hello, I'm ChatGPT bot! Matrix E2EE: true
Room key error. I will leave the room, please reinvite me!
bot.chatgpt left the room
After that, the bot cannot be added into that room anymore. We have to create a separate new Room and invite him there. Does someone know what is the reason for that behaviour and how could it be fixed?
This was a hacky fix for some E2EE issues we were having, quickest fix is probably to delete the user on the matrix server and recreate, you will also need to clear the matrix part of the storage folder (don't clear the ChatGPT part if you care about old conversations).
you will also need to clear the matrix part of the storage folder
could you explain more?
my folder structure looks like this:
/app_data/matrix/chatgpt$ tree .
.
├── config
│ └── env
└── data
├── chatgpt-bot-api.json
├── chatgpt-bot-storage.json
├── encrypted
│ ├── bot-sdk.json
│ └── matrix-sdk-crypto
│ ├── blobs
│ ├── conf
│ ├── db
│ └── snap.0000000001E98C0D
└── home
Delete everything but: . └── data ├── chatgpt-bot-api.json