nextcloud-talk-android/app/src/main/res/values
Marcel Hibbe 7f51d45e9a
Align typing indicator to new concept
# Send start/stop typing
Send "Typing" every 10 sec when there was a change

Send stop typing:
- when input is deleted
- when there was no input during the 10s timer
- when on leaving room

# Receive start/stop typing
Clear typing for participant after 15s if no start typing-message was received.
Use userId instead sessionId to manage typing participants. This ensures participants are not shown multiple times when using multiple devices with the same user (multisession). To get the userId via websocket, SignalingMessageReceiver and WebSocketInstance had to be modified to pass the CallWebSocketMessage in case the signalingMessage.type is related to typing. Not sure if this is the best solution but didn't find any other way.

Typing is not handled when the userId is of the own user (this could happen when using multiple devices)

In case userId is null (which happens for guests), their sessionId is used as key for the typingParticipants map.

# Other
Disable setting for typing indicator when no HPB is used + Avoid crash in chat when no HPB is used.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-06-02 15:35:16 +02:00
..
arrays.xml add expiring messages option in conversation info screen 2022-08-24 12:01:20 +02:00
attrs.xml First draft of participants management 2019-09-16 11:10:35 +02:00
bool.xml Fix #465 and fix #463 2019-02-14 06:50:02 +01:00
colors.xml Replace imageButton with MaterialButton and apply primary tonal dynamic coloring 2023-02-08 09:00:13 +01:00
defaults.xml Various updates to theming settings & fixes 2019-08-09 17:56:37 +02:00
dimens.xml Replace ImageButtons with FABs 2023-03-17 09:42:41 +00:00
setup.xml add copyright + minor refactoring 2022-01-26 15:00:31 +01:00
strings.xml Align typing indicator to new concept 2023-06-02 15:35:16 +02:00
styles.xml fix general background color 2023-04-09 12:16:49 +02:00