mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-07 23:24:33 +00:00
The nick was displayed when updated through a data channel message, or when a ParticipantDisplayItem was created and the nick was already received. However, when the HPB is not used the nick is not sent after a connection is established, as it was sent already in the offer or answer. The nick from the offer or answer has not been received yet when the ParticipantDisplayItem is initially created, so the nick only appeared because a new ParticipantDisplayItem is created again when the connection is finally established. Due to all that the displayed nick is now updated as soon as it is received in an offer or answer, which ensures that the nick is shown independently of when was the ParticipantDisplayItem created. Note that this only applies to non-HPB scenarios; when the HPB is used the nick is got from the participant list update sent through signaling messages, so it is already known when creating the display item (in some very strange cases it might happen that an offer is received before the participant list was updated, but this should not happen, and in any case it will be handled at a later point). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
---|---|---|
.. | ||
schemas/com.nextcloud.talk.data.source.local.TalkDatabase | ||
src | ||
build.gradle | ||
lint.xml | ||
proguard-rules.pro |