Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -19,6 +19,7 @@ use IPS\Application;
|
||||
use IPS\Content\Controller;
|
||||
use IPS\Content\Search\Mysql\Query;
|
||||
use IPS\core\Alerts\Alert;
|
||||
use IPS\core\DataLayer;
|
||||
use IPS\core\Messenger\Conversation;
|
||||
use IPS\DateTime;
|
||||
use IPS\Db;
|
||||
@@ -31,6 +32,7 @@ use IPS\Notification;
|
||||
use IPS\Output;
|
||||
use IPS\Request;
|
||||
use IPS\Session;
|
||||
use IPS\Settings;
|
||||
use IPS\Theme;
|
||||
use LogicException;
|
||||
use OutOfRangeException;
|
||||
@@ -506,6 +508,13 @@ class messenger extends Controller
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( DataLayer::enabled() and $conversation )
|
||||
{
|
||||
foreach ( $conversation->getDataLayerProperties() as $key => $value )
|
||||
{
|
||||
DataLayer::i()->addContextProperty( $key, $value );
|
||||
}
|
||||
}
|
||||
Output::i()->output = Theme::i()->getTemplate('messaging')->template( $folder, $folders, $folderCounts, $conversations, $pagination, $conversation, $baseUrl, ( $conversation ? 'messenger_convo' : 'messenger' ), ( Request::i()->sortBy ? htmlspecialchars( Request::i()->sortBy, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ): 'mt_last_post_time' ), ( Request::i()->filter ? htmlspecialchars( Request::i()->filter, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ) : '' ), $alert );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user