Skip to content

added_to_team websocket event is sent duplicated #19810

@mattermod

Description

@mattermod

Right now, we are sending the added*to*team websocket event twice. This is due to AddTeamMember calling AddUserToTeam and this one calling JoinUserToTeam. Both AddTeamMember and JoinUserToTeam are sending the websocket event.

The naive solution would be to remove from any of the two the websocket event. Nevertheless, I am not sure of the possible implications and possible paths.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-42536

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions