mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Aphlict - fix incrementation of _messagesIn
Summary: Ref T7124. The local version of `this` in the handler of 'end' was incremented rather than the global one. Test Plan: Sending test notifications did not increment the `messages.in` value before this patch even if it should have. With the patch sending test notifications does increment `messages.in`. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7124 Differential Revision: https://secure.phabricator.com/D11648
This commit is contained in:
parent
70cddaae32
commit
172566a769
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ JX.install('AphlictAdminServer', {
|
|||
|
||||
self.getLogger().log(
|
||||
'Received notification: ' + JSON.stringify(msg));
|
||||
++this._messagesIn;
|
||||
++self._messagesIn;
|
||||
|
||||
try {
|
||||
self._transmit(msg);
|
||||
|
|
Loading…
Reference in a new issue