Steffen
Well-known member
- Affected version
- 2.0.12
Users in state "email_bounce" cannot post to your forums and they cannot start new conversations. But it seems like they can reply to existing conversations. This has caught me by surprise. Is this intended behavior or a bug?
At least in combination with this bug this seems problematic.
At least in combination with this bug this seems problematic.
Diff:
--- a/src/XF/Entity/ConversationMaster.php
+++ b/src/XF/Entity/ConversationMaster.php
@@ -64,6 +64,11 @@ class ConversationMaster extends Entity
public function canReply()
{
+ if (\XF::visitor()->user_state != 'valid')
+ {
+ return false;
+ }
+
// if a conversation isn't open, we want the creator to know by not showing the reply box
return $this->conversation_open;
}
Last edited: