mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-31 08:35:19 +01:00
Fix setting guest nicks
The "nick" attribute was set with itself instead of with the "internalNick" variable that holds the value received in the "nickChanged" event. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
6846eb950b
commit
5b9f02e99c
@ -271,7 +271,7 @@ public class MagicPeerConnectionWrapper {
|
||||
if (dataChannelMessage.getPayload() instanceof String) {
|
||||
internalNick = (String) dataChannelMessage.getPayload();
|
||||
if (!internalNick.equals(nick)) {
|
||||
setNick(nick);
|
||||
setNick(internalNick);
|
||||
EventBus.getDefault().post(new PeerConnectionEvent(PeerConnectionEvent.PeerConnectionEventType
|
||||
.NICK_CHANGE, sessionId, getNick(), null, videoStreamType));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user