diff --git a/matrix-util.js b/matrix-util.js index 92213ba..96ee53c 100644 --- a/matrix-util.js +++ b/matrix-util.js @@ -189,7 +189,7 @@ MatrixUtil.prototype._updateLastMessage = function(partner, msg, direction) { if (direction == 'incoming') { try { - _updateLastResponseTime(partner); + this._updateLastResponseTime(partner); } catch(e) { logger.warn('Exception when updateLastResponseTime', {err: e}); @@ -205,8 +205,6 @@ MatrixUtil.prototype._updateLastMessage = function(partner, msg, direction) { if (direction == 'outgoing') { return; } - - }