Fixed Is it intended that you cannot ignore users in state "email_bounce"?

Steffen

Well-known member
Affected version
2.0.12
Users in the state "email_bounce" cannot use the forum right now and therefore cannot annoy other users right now (update: actually, they can). But all they have to do to regain access (and to potentially annoy other users again) is to provide a working email address. I therefore think it would make sense if XenForo allowed you to ignore such users. What do you think?

Diff:
--- a/src/XF/Entity/User.php
+++ b/src/XF/Entity/User.php
@@ -828,7 +828,7 @@ class User extends Entity
             return false;
         }

-        if (!in_array($user->user_state, ['valid', 'email_confirm', 'email_confirm_edit']))
+        if (!in_array($user->user_state, ['valid', 'email_confirm', 'email_confirm_edit', 'email_bounce']))
         {
             return false;
         }

Original bug report in our forum (in german): https://www.computerbase.de/forum/threads/user-nicht-ignorierbar.1848936/
 
Last edited:
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 B7/RC1).

Change log:
Allow ignoring a user who is in email_bounce state.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom