Wildcat Media
Well-known member
We had an account get deleted in XF. As a rule we never delete accounts--we just ban them. So, it was easy to restore this member's posts, trader feedback (for an add-on), and everything else.
However, no matter what I do, I can't get private conversations working. Using the username column, I was able to reassign all user ID columns to the new member account. I've queried all four tables and all data is in place; even the serialized data looks perfect, with the updated user ID. Conversations are still open, recipient state is active, everything else looks OK to, comparing to recent messages in the table. I've run the Rebuild Conversations task a couple of times now and it still isn't working.
What's happening now is this:
I am probably missing one thing here. Is there something in another table I'm missing that is preventing these messages from being restored? Everything appears as it should, and all other account features were restored. So this has me wondering what I've missed.
However, no matter what I do, I can't get private conversations working. Using the username column, I was able to reassign all user ID columns to the new member account. I've queried all four tables and all data is in place; even the serialized data looks perfect, with the updated user ID. Conversations are still open, recipient state is active, everything else looks OK to, comparing to recent messages in the table. I've run the Rebuild Conversations task a couple of times now and it still isn't working.
What's happening now is this:
- The new member account shows none of the private conversations from the old account.
- The other participants in the old account's conversation send messages that never arrive at the member's new account.
I am probably missing one thing here. Is there something in another table I'm missing that is preventing these messages from being restored? Everything appears as it should, and all other account features were restored. So this has me wondering what I've missed.