From 5a3a49b8278d7b8e7e0bea7e487441b4580a20e5 Mon Sep 17 00:00:00 2001
From: Simon Morlat <simon.morlat@linphone.org>
Date: Tue, 12 Feb 2019 15:24:44 +0100
Subject: [PATCH] Duplicated lines of code cause double notifications of device
 addresses.

---
 src/conference/handlers/local-conference-event-handler.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/conference/handlers/local-conference-event-handler.cpp b/src/conference/handlers/local-conference-event-handler.cpp
index c0c92ec2fa..09c08cd529 100644
--- a/src/conference/handlers/local-conference-event-handler.cpp
+++ b/src/conference/handlers/local-conference-event-handler.cpp
@@ -286,9 +286,6 @@ string LocalConferenceEventHandlerPrivate::createNotifyParticipantDeviceAdded (c
 			const string &displayName = device->getName();
 			if (!displayName.empty())
 				endpoint.setDisplayText(displayName);
-
-			endpoint.setState(StateType::full);
-			user.getEndpoint().push_back(endpoint);
 		}
 	}
 	endpoint.setState(StateType::full);
-- 
GitLab