Contains ID of the group
An individual user has his own list of users. The method searches for particular user from the list.
A group contains various members. A user can add other users to the group that he is a part of.
contains information about user(s) to be added to the group
Closes all popovers
A group consists of various members. The creator of the group can remove a member from a group. The method hides 'remove' icon for removing user on mouseout event.
Disposes all subscriptions of the controller socket methods
A user may change or edit the name of the group that he is a part of.
Contains new name for the group
A group consists of various members. The creator of the group can remove a member from a group. The method displays 'remove' icon for removing user on hovering on the user image.
ID of the user to be removed
Displays all members of group on clicking the 'plus' icon in intro component.
A user can create a group of minimum 3 members. The method returns the count of members in a particular group.
A numeric value
Initializes the intro component
An individual user has his own list of users. The method checks whether a user is added into your list of users or not.
Details of the user to be checked into the list
A boolean value
User details are passed. The method returns the profile image of other user if present, otherwise default image is shown.
Details of the other user
An image object
Group details are passed. otherUsersOnlineStatus() returns which class must be applied according to the status of other user if p2p, else applies class for group.
Status of user if p2p or else a group
User details
An image object if present, otherwise false
A group consists of various members. The method allows the creator of the group to remove a member from a group.
ID of the user to be removed
Username of the user to be removed
A user may search for other users. The method displays the search box for searching users to be added to the group.
User's details are passed. The method returns the class to be applied according to user status either online, offline or away.
User details
Status of the user
Contains logic for displaying content in the introComponent i.e. the leftmost panel.