mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 17:08:34 +03:00
ed8ac14d94
The avatar of guests is based on their display name/nick. When the HPB is not used the nick is provided in the offer/answer signaling messages, and later updated through data channel messages when it changes. When the HPB is used the nick is periodically sent through data channel messages. Therefore the avatar is based on the nick set in the peer connection and reloaded when the nick changes (although it is currently a bit hacky and brittle, as it is based on whether the nick shown in the text view changed rather than whether the nick itself changed, but it works nevertheless). Note that currently it is required that the guest has a peer connection to know its nick and, therefore, its avatar; some changes would be needed in the clients to also send the nick when there is no peer connection. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle | ||
gplay.gradle | ||
proguard-rules.pro |