diff --git a/modules/viewmodel/mw.echo.dm.NotificationsModel.js b/modules/viewmodel/mw.echo.dm.NotificationsModel.js index 4dfb6915d..1f53b4442 100644 --- a/modules/viewmodel/mw.echo.dm.NotificationsModel.js +++ b/modules/viewmodel/mw.echo.dm.NotificationsModel.js @@ -314,7 +314,7 @@ * @fires updateSeenTime */ mw.echo.dm.NotificationsModel.prototype.updateSeenTime = function ( type ) { - var i, len, + var i, len, promise, items = this.unseenNotifications.getItems(); type = type || this.type; @@ -325,7 +325,14 @@ } this.emit( 'updateSeenTime' ); - return this.getApi().updateSeenTime( type ) + // Only update seenTime in the API locally + if ( !this.isExternal() ) { + promise = this.getApi().updateSeenTime( type ); + } else { + promise = $.Deferred().resolve(); + } + + return promise .then( this.setSeenTime.bind( this ) ); };