ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,695
- Points
- 823
Reputation:
\XF\Pub\Controller\Conversation::assertViewableMessage, lines 1130 through 1141:
PHP:
That last line won't have any effect because the return value isn't...
Read more
Continue reading...
PHP:
Code:
protected function assertViewableMessage($messageId, array $extraWith = [])
{
$extraWith[] = 'Conversation';
$visitor = \XF::visitor();
if ($visitor->user_id)
{
$extraWith[] = 'Conversation.Recipients|' . $visitor->user_id;
$extraWith[] = 'Conversation.Users|' . $visitor->user_id;
}
array_unique($extraWith);
That last line won't have any effect because the return value isn't...
Read more
Continue reading...