Skip to content

Commit

Permalink
Conversation size
Browse files Browse the repository at this point in the history
  • Loading branch information
lipis committed Aug 4, 2020
1 parent fd5ff8c commit 14db88b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/script/calling/CallingRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export class CallingRepository {
[Segmantation.CONVERSATION.ALLOW_GUESTS]: '',
[Segmantation.CONVERSATION.GUESTS]: conversationEntity.hasGuest(),
[Segmantation.CONVERSATION.SERVICES]: conversationEntity.hasService(),
[Segmantation.CONVERSATION.SIZE]: '',
[Segmantation.CONVERSATION.SIZE]: conversationEntity.participating_user_ets().length,
[Segmantation.CONVERSATION.TYPE]: trackingHelpers.getConversationType(conversationEntity),
[Segmantation.CONVERSATION.WIRELESS_GUESTS]: '',
[Segmantation.SCREEN_SHARE.DIRECTION]: '',
Expand Down Expand Up @@ -572,7 +572,7 @@ export class CallingRepository {
[Segmantation.CONVERSATION.EPHEMERAL_MESSAGE]: !!conversationEntity.globalMessageTimer(),
[Segmantation.CONVERSATION.GUESTS]: conversationEntity.hasGuest(),
[Segmantation.CONVERSATION.SERVICES]: conversationEntity.hasService(),
[Segmantation.CONVERSATION.SIZE]: '',
[Segmantation.CONVERSATION.SIZE]: conversationEntity.participating_user_ets().length,
[Segmantation.CONVERSATION.TYPE]: trackingHelpers.getConversationType(conversationEntity),
[Segmantation.CONVERSATION.WIRELESS_GUESTS]: '',
};
Expand Down Expand Up @@ -757,7 +757,7 @@ export class CallingRepository {
[Segmantation.CONVERSATION.EPHEMERAL_MESSAGE]: !!conversationEntity.globalMessageTimer(),
[Segmantation.CONVERSATION.GUESTS]: conversationEntity.hasGuest(),
[Segmantation.CONVERSATION.SERVICES]: conversationEntity.hasService(),
[Segmantation.CONVERSATION.SIZE]: '',
[Segmantation.CONVERSATION.SIZE]: conversationEntity.participating_user_ets().length,
[Segmantation.CONVERSATION.TYPE]: trackingHelpers.getConversationType(conversationEntity),
[Segmantation.CONVERSATION.WIRELESS_GUESTS]: '',
};
Expand Down Expand Up @@ -842,7 +842,7 @@ export class CallingRepository {
[Segmantation.CONVERSATION.EPHEMERAL_MESSAGE]: !!conversationEntity.globalMessageTimer(),
[Segmantation.CONVERSATION.GUESTS]: conversationEntity.hasGuest(),
[Segmantation.CONVERSATION.SERVICES]: conversationEntity.hasService(),
[Segmantation.CONVERSATION.SIZE]: '',
[Segmantation.CONVERSATION.SIZE]: conversationEntity.participating_user_ets().length,
[Segmantation.CONVERSATION.TYPE]: trackingHelpers.getConversationType(conversationEntity),
[Segmantation.CONVERSATION.WIRELESS_GUESTS]: '',
};
Expand Down
4 changes: 2 additions & 2 deletions src/script/conversation/ConversationRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -4312,11 +4312,11 @@ export class ConversationRepository {

if (actionType) {
let segmentations = {
[Segmantation.CONVERSATION.ALLOW_GUESTS]: '',
[Segmantation.CONVERSATION.ALLOW_GUESTS]: conversationEntity.isGuestRoom(),
[Segmantation.CONVERSATION.EPHEMERAL_MESSAGE]: !!conversationEntity.globalMessageTimer(),
[Segmantation.CONVERSATION.GUESTS]: conversationEntity.hasGuest(),
[Segmantation.CONVERSATION.SERVICES]: conversationEntity.hasService(),
[Segmantation.CONVERSATION.SIZE]: '',
[Segmantation.CONVERSATION.SIZE]: conversationEntity.participating_user_ets().length,
[Segmantation.CONVERSATION.TYPE]: trackingHelpers.getConversationType(conversationEntity),
[Segmantation.CONVERSATION.WIRELESS_GUESTS]: '',
[Segmantation.MESSAGE.ACTION]: actionType,
Expand Down
4 changes: 2 additions & 2 deletions src/script/view_model/CallingViewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class CallingViewModel {
[Segmantation.CONVERSATION.EPHEMERAL_MESSAGE]: !!conversationEntity.globalMessageTimer(),
[Segmantation.CONVERSATION.GUESTS]: conversationEntity.hasGuest(),
[Segmantation.CONVERSATION.SERVICES]: conversationEntity.hasService(),
[Segmantation.CONVERSATION.SIZE]: '',
[Segmantation.CONVERSATION.SIZE]: conversationEntity.participating_user_ets().length,
[Segmantation.CONVERSATION.TYPE]: trackingHelpers.getConversationType(conversationEntity),
[Segmantation.CONVERSATION.WIRELESS_GUESTS]: '',
};
Expand All @@ -169,7 +169,7 @@ export class CallingViewModel {
[Segmantation.CONVERSATION.EPHEMERAL_MESSAGE]: !!conversationEntity.globalMessageTimer(),
[Segmantation.CONVERSATION.GUESTS]: conversationEntity.hasGuest(),
[Segmantation.CONVERSATION.SERVICES]: conversationEntity.hasService(),
[Segmantation.CONVERSATION.SIZE]: '',
[Segmantation.CONVERSATION.SIZE]: conversationEntity.participating_user_ets().length,
[Segmantation.CONVERSATION.TYPE]: trackingHelpers.getConversationType(conversationEntity),
[Segmantation.CONVERSATION.WIRELESS_GUESTS]: '',
};
Expand Down

0 comments on commit 14db88b

Please sign in to comment.