mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-04 13:25:19 -05:00
Handle call events in the recents view as well to get consistency with what it displays when refreshed.
This commit is contained in:
parent
4e14e38bd5
commit
fa6b3490e2
@ -43,6 +43,11 @@ angular.module('RecentsController', ['matrixService', 'eventHandlerService'])
|
|||||||
$scope.rooms[event.room_id].lastMsg = event;
|
$scope.rooms[event.room_id].lastMsg = event;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
$scope.$on(eventHandlerService.CALL_EVENT, function(ngEvent, event, isLive) {
|
||||||
|
if (isLive) {
|
||||||
|
$scope.rooms[event.room_id].lastMsg = event;
|
||||||
|
}
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user