XF 2.1 Remove user from conversation?

RobParker

Well-known member
I can't believe this isn't part of XF but it doesn't seem to be.

We have a conversation with a large number of people and want to remove 1 of the people from the conversation.

Is there a way to do this manually? As it's just a one-off, I'm happy with a database edit and don't particularly want to install an addon just to do this.

Anyone any suggestions?
 
I have done this but not sure if it's the best way. Don't blame me if it goes wrong and test on a backup first.

1) get the id of the conversation and the id of the user

2)In the table xf_conversation_recipients you can delete the user id:

Screenshot 2021-06-10 at 11.38.24.webp

However then It still shows the same number of recipients in the actual convesation, so in xf_conversation master you can edit that number in the column recipient_count
 
Back
Top Bottom