Daniel Calviño Sánchez
ed8ac14d94
Show avatar for guests in call view
...
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>
2020-10-02 09:11:16 +02:00
Daniel Calviño Sánchez
8f748caeaa
Remove no longer needed parameter
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:18:20 +02:00
Daniel Calviño Sánchez
6b2720653a
Always pass the session id in "NICK_CHANGE" PeerConnectionEvents
...
Before the NICK_CHANGE event include either the session id or the user
id, depending on whether the participant was a guest or a user. However,
as the session id is also known for users the event can be unified to
always include the session id only.
This also fixes an exception when handling the "NICK_CHANGE" event, as
the session id was got from the user id given in the event, but if the
event already included the session id the look up failed and the session
id was replaced with an empty value. This in turn caused an exception
when trying to use the view for the now invalid session id. Now the
session id provided in the event is always directly used.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:07:25 +02:00
tobiasKaminsky
6d7cf8305a
Fix join call directly after first start
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 09:40:46 +02:00
Mario Danic
ac1bb0ecf7
Fix spamming participants
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-04-15 12:02:56 +02:00
Mario Danic
b14f9990b4
Fix #761
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-23 14:16:26 +01:00
Mario Danic
4b12ede79e
Fix duplicate
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:43:55 +01:00
Mario Danic
84cb7cc45a
Fix timeout stuff
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:26:16 +01:00
Mario Danic
68c1cd6d4d
Fix #684
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 11:19:54 +01:00
Mario Danic
408da749fe
Fix vibration and fix #745
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 16:26:03 +01:00
Mario Danic
39c2dced64
Fix #713 , Fix #720
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-12 10:57:35 +01:00
Mario Danic
9e2fbc076c
First step towards working calls on Q
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-10 00:33:41 +01:00
Mario Danic
c4eaf319a1
Update version
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:12:40 +01:00
Mario Danic
4b9f47c6b5
Improve contacts
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:11:16 +01:00
Mario Danic
fbbcb92ec8
Fix #707
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 15:17:29 +01:00
Mario Danic
1e2ae2c8b0
Fix #704
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 13:48:04 +01:00
Mario Danic
0451131fa4
Fix #692
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:42:52 +01:00
Mario Danic
652b72ebde
Fix #702
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:25:15 +01:00
Mario Danic
5262d08e3c
Fix avatars
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:41:38 +01:00
Mario Danic
d166276b80
Improvements to replies
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:36:52 +01:00
Mario Danic
d21d5f51b4
Implemented most of message replies
...
# Conflicts:
# app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt
# app/src/main/res/layout/view_message_input.xml
# app/src/main/res/values/strings.xml
2020-01-13 12:07:32 +01:00
Mario Danic
345035e93a
Fixed issues with sending messages
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 14:53:35 +02:00
Mario Danic
f308a5093d
Various fix for crashes
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 14:15:01 +02:00
Mario Danic
7f3e93edd4
Fix issues with messages processing
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
a56319d3a9
Fix message title
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
8a60fad0c4
Fix unread message notices
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
e1d9a24130
Fix issues with chat title crash
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 10:35:30 +02:00
Mario Danic
b95bb003df
Fix notifications crash
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 13:53:02 +02:00
Mario Danic
5334a0fd15
Update version
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 13:06:25 +02:00
Mario Danic
041b77da21
Kotlin & hardening
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 12:48:22 +02:00
Mario Danic
a316739c9e
Few more fixes
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 11:55:43 +02:00
Mario Danic
7eeefa3ae6
Fix issues with setting the title
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 11:42:02 +02:00
Mario Danic
d1074257be
Clean up imports
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 14:14:54 +02:00
Mario Danic
2bbfdda400
Fix moderation issues with add participants
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 14:14:41 +02:00
Mario Danic
48c1505cb5
Fix participants management UI
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 13:59:55 +02:00
Mario Danic
c1f9dd2ac5
Bug fixes related to guest account
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 13:29:00 +02:00
Mario Danic
139c1f1724
Fix some lobby crashes
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
ecfe91f36f
Significant improvements to the dark theme
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
df7f50ba01
Remove logs
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
85b75b7da5
Fix up magical stuff
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 12:49:12 +02:00
Mario Danic
0b7ce8295c
First draft of participants management
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 11:10:35 +02:00
Mario Danic
3f374ca232
Fix messages stuff
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 15:48:19 +02:00
Mario Danic
0648ceb44c
New notice logic
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 12:39:50 +02:00
Mario Danic
0a0aece7d0
Partly fix messages loading
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 12:13:27 +02:00
Mario Danic
82170b77d7
Fix automated app starting due to room invite
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 10:39:26 +02:00
Mario Danic
362042e27e
Better scroll on new messages & Kotlin
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 21:59:40 +02:00
Mario Danic
4d9781fbe2
First scroll to new messages
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 18:11:09 +02:00
Mario Danic
f686bf9057
Change timeout for first future pull
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 14:00:37 +02:00
Mario Danic
8ed3d1404e
Change messages fetch limit
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:58:08 +02:00
Mario Danic
a8ee4a355b
Add some whitespace to bottom of the chat
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:54:47 +02:00