Jagster
(Jakke Lehtonen)
30 Aprile 2023, 5:00pm
1
Quando elimino un messaggio di chat o passo a un altro canale, la volta successiva che accedo, l’indicatore del nuovo messaggio della chat mostra X messaggi non letti. Succede a tutti gli utenti.
Quantità X perché all’inizio pensavo mostrasse tutto come nuovo, ma non è così. Poi ho pensato che l’indicatore mostrasse la quantità di messaggi meno quelli di quel giorno, ma non era vero neanche quello. Quindi non riesco a capire da dove provenga quella quantità di non letti, ma è ridicolmente grande.
Non posso dire esattamente quando è iniziato, ma direi che è successo quando ho aggiornato alla versione 3.1.0.beta4 (06893d8505 )
E no, non ho ancora provato ad aggiornare.
1 Mi Piace
Canapin
(Coin-coin le Canapin)
2 Maggio 2023, 2:14pm
2
La chat è ancora in fase di sviluppo, puoi dirci se riscontri ancora il problema dopo aver aggiornato, prima che proviamo a riprodurlo?
2 Mi Piace
j.jaffeux
(Joffrey Jaffeux)
2 Maggio 2023, 2:35pm
3
Non c’è bisogno di aggiornare, penso che si tratti di una regressione recente, che verrà molto probabilmente risolta entro la fine della settimana.
3 Mi Piace
j.jaffeux
(Joffrey Jaffeux)
4 Maggio 2023, 3:46pm
5
Abbiamo identificato il problema e la causa principale, cercheremo di risolvere il problema domani
5 Mi Piace
j.jaffeux
(Joffrey Jaffeux)
5 Maggio 2023, 3:06pm
6
Abbiamo appena unito questa correzione che ci aspettiamo risolva il tuo problema:
committed 01:28PM - 05 May 23 UTC
When we were deleting messages in chat, we would find all of
the UserChatChanne… lMembership records that had a matching
last_read_message_id and set that column to NULL.
This became an issue when multiple users had that deleted message
set to their last_read_message_id. When we called ChannelUnreadsQuery
to get the unread count for each of the user's channels, we were
COALESCing the last_read_message_id and returning 0 if it was NULL,
which meant that the unread count for the channel would be the total
count of the messages not sent by the user in that channel.
This was particularly noticeable for DM channels since we show
the count with the indicator in the header. This issue would disappear
as soon as the user opened the problem channel, because we would then
set the last_read_message_id to an actual ID.
To circumvent this, instead of NULLifying the last_read_message_id in
most cases, it makes more sense to just set it to the most recent
non-deleted chat message ID for the channel. The only time it will
be set to NULL now is when there are no more other messages in the
channel.
5 Mi Piace
Jagster
(Jakke Lehtonen)
5 Maggio 2023, 3:42pm
7
Un rapido test non ha mostrato problemi. Grazie!
4 Mi Piace
j.jaffeux
(Joffrey Jaffeux)
Chiuso
9 Maggio 2023, 3:42pm
8
Questo argomento è stato chiuso automaticamente 4 giorni dopo l’ultima risposta. Non sono più ammesse nuove risposte.