A user can have multiple groups. The method searches for particular group and bounces back the result.
A user can create a group with minimum 3 users. The method allows you to create a conversation group with the specified users.
When a user wants to create a group, a modal pops up asking for group details to be created. closeGroupModal closes the modal opened for group creation.
Closes the popover
Disposes all subscriptions of the controller socket methods
Focusses on the search box
Initializes the groups tab
When a user clicks on a group, it sets the index of the clicked upon element from the list as selected index, denoting the particular element is selected.
Index of conversation
A user has a list of all the groups that he is a participant of. He can remove a particular group from his list only if he is the creator of that group. removeUserRecent removes a group conversation from your list.
conversation group details that is to be removed
When a user clicks on a group name, startChat opens up an existing conversation with a particular group.
Index of conversation group
Registers groupsComponent as a component in knockout