mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 12:32:11 -04:00
Change call signalling messages to be their own types of room events rather than room messages with different msgtypes: room messages should be things that the client can display as a unit message to the user.
This commit is contained in:
parent
171d8b032f
commit
5308e3026a
5 changed files with 27 additions and 18 deletions
|
@ -83,7 +83,7 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
|
|||
updatePresence(event);
|
||||
});
|
||||
|
||||
$rootScope.$on(matrixPhoneService.CALL_EVENT, function(ngEvent, call) {
|
||||
$rootScope.$on(matrixPhoneService.INCOMING_CALL_EVENT, function(ngEvent, call) {
|
||||
console.trace("incoming call");
|
||||
call.onError = $scope.onCallError;
|
||||
call.onHangup = $scope.onCallHangup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue