Do not reset active_at after group fetch

This commit is contained in:
Fedor Indutny 2022-02-04 13:23:30 -08:00 committed by GitHub
parent e37c6e68ec
commit abcfa3cc35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2826,7 +2826,7 @@ async function updateGroup(
// Unknown Group in the left pane.
let activeAt = null;
if (viaSync) {
activeAt = null;
activeAt = conversation.get('active_at') || null;
} else if ((isInitialDataFetch || justJoinedGroup) && newAttributes.name) {
activeAt = initialSentAt;
} else {