Though it should never happen in practice, bots may somehow lose a room key, and thus lose the ability to decrypt messages sent in that room from the user whose key was lost.
When this happens, the bot should simply ask the user for their room key via a key request.
Otherwise, the only way this can be fixed is if the user whose key was lost either resends the key, or generates a new key for the room & sends that one instead. I'm not aware of whether the former is possible, but the latter can be done by manually running the /discardsession command in an Element clients.
Though it should never happen in practice, bots may somehow lose a room key, and thus lose the ability to decrypt messages sent in that room from the user whose key was lost.
When this happens, the bot should simply ask the user for their room key via a key request.
Otherwise, the only way this can be fixed is if the user whose key was lost either resends the key, or generates a new key for the room & sends that one instead. I'm not aware of whether the former is possible, but the latter can be done by manually running the
/discardsessioncommand in an Element clients.