diff --git a/modules/viewmodel/mw.echo.dm.NotificationsModel.js b/modules/viewmodel/mw.echo.dm.NotificationsModel.js index 196ef7142..79f3715ea 100644 --- a/modules/viewmodel/mw.echo.dm.NotificationsModel.js +++ b/modules/viewmodel/mw.echo.dm.NotificationsModel.js @@ -71,6 +71,10 @@ return -1; // Unread items are always above read items } else if ( a.isRead() && !b.isRead() ) { return 1; + } else if ( !a.isForeign() && b.isForeign() ) { + return -1; + } else if ( a.isForeign() && !b.isForeign() ) { + return 1; } else { // Reverse sorting diff = Number( b.getTimestamp() ) - Number( a.getTimestamp() );