Nextcloud Talk Android: Scroll position resets to bottom when resuming app from background

Nextcloud version: 31.0.7
Talk Server version: 21.1.1
Custom Signaling server configured: no
Custom TURN server configured: yes
Custom STUN server configured: yes

Talk Android version: 21.1.2

The issue you are facing: When I scroll up in a conversation to read older messages, then switch to another app or go to the home screen, reopening Nextcloud Talk always jumps the view to the latest messages, causing me to lose my place.

Is this the first time you’ve seen this error?: N

Steps to reproduce:

  1. Open the Nextcloud Talk Android app.
  2. Enter a chat with a long history of messages.
  3. Scroll up to view earlier messages.
  4. Switch to another app or press the Home button.
  5. Return to Nextcloud Talk.

Expected behavior: The chat should remain at the same scroll position where I left off, so I can continue reading older messages without interruption.

Actual behavior: Upon reopening the app, the chat view automatically scrolls to the most recent messages at the bottom, discarding my previous scroll position.

Device information:

Device: Google Pixel 6a

Android version: 16

Build number: BP31.250523.010