Skip to content

Commit

Permalink
Fix is_group in screensharing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Herdmann committed Jun 7, 2017
1 parent 03b026f commit dd6ff67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/script/view_model/VideoCallingViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ z.ViewModel.VideoCallingViewModel = class VideoCallingViewModel {
amplify.publish(z.event.WebApp.CALL.MEDIA.TOGGLE, conversation_id, z.media.MediaType.SCREEN);
} else if (z.util.Environment.electron) {
amplify.publish(z.event.WebApp.ANALYTICS.EVENT, z.tracking.EventName.CALLING.SHARED_SCREEN, {
conversation_type: this.joined_call().is_group() ? z.tracking.attribute.ConversationType.GROUP : z.tracking.attribute.ConversationType.ONE_TO_ONE,
conversation_type: this.joined_call().is_group ? z.tracking.attribute.ConversationType.GROUP : z.tracking.attribute.ConversationType.ONE_TO_ONE,
kind_of_call_when_sharing: this.joined_call().is_remote_video_send() ? 'video' : 'audio',
});

Expand Down

0 comments on commit dd6ff67

Please sign in to comment.