talk-android icon indicating copy to clipboard operation
talk-android copied to clipboard

duplicated messages in chat after call

Open mahibi opened this issue 3 years ago • 6 comments

Steps to reproduce

  1. start a call & hangup
  2. BUG: system messages in chat are shown multiple times (3x?)
  3. write a message
  4. BUG: message shown twice
  5. go back to conversation list & re enter chat
  6. BUG: system messages in chat are shown multiple times (2x?), just like on server! (see screenshot)
  7. written message is shown once

Expected behaviour

Actual behaviour

the call system messages are shown multiple times. after the call also the normal messages are shown twice

right after trying to call someone grafik

after switching to conversation list and back to chat grafik

also on server the call system messages are shown twice: grafik

Device information

Device: Xiaomi Redmi Note 7

Talk version: 14.1.0 alpha 06

Server information

Sermo

mahibi avatar May 17 '22 13:05 mahibi

might be related: https://github.com/nextcloud/talk-android/issues/684 https://github.com/nextcloud/talk-android/issues/453

mahibi avatar May 17 '22 13:05 mahibi

I've seen this as well. Or messages not being displayed until I reopen the window (select another chat and then come back)

hboetes avatar May 25 '22 06:05 hboetes

I'm seeing this too.

isaiah-v avatar Jun 01 '22 02:06 isaiah-v

Seeing this on the Android app.

miaulalala avatar Jun 10 '22 09:06 miaulalala

I also get them without being on a call and sometimes new messages that i send are not visible i have to go out of the chat and back in

AndyXheli avatar Sep 11 '22 16:09 AndyXheli

This was most likely caused with https://github.com/nextcloud/talk-android/pull/1766/files when the wasDetached handling was removed. When i delete the lines

if (inConversation) {
    Log.d(TAG, "execute joinRoomWithPassword in onAttach")
    joinRoomWithPassword()
}

in onAttach it's fixed, but surely will add other bugs. (this also fixes https://github.com/nextcloud/talk-android/issues/2171) So just need to find more time now to look into this.

mahibi avatar Oct 06 '22 15:10 mahibi