mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Improve various aspects of mentions.
This commit is contained in:
@@ -101,6 +101,11 @@ public class MegaphoneRepository {
|
||||
@AnyThread
|
||||
public void markFinished(@NonNull Event event) {
|
||||
executor.execute(() -> {
|
||||
MegaphoneRecord record = databaseCache.get(event);
|
||||
if (record != null && record.isFinished()) {
|
||||
return;
|
||||
}
|
||||
|
||||
database.markFinished(event);
|
||||
resetDatabaseCache();
|
||||
});
|
||||
|
||||
@@ -211,7 +211,7 @@ public final class Megaphones {
|
||||
}
|
||||
|
||||
private static boolean shouldShowMentionsMegaphone() {
|
||||
return FeatureFlags.mentions() && FeatureFlags.groupsV2();
|
||||
return FeatureFlags.mentions();
|
||||
}
|
||||
|
||||
private static boolean shouldShowLinkPreviewsMegaphone(@NonNull Context context) {
|
||||
|
||||
Reference in New Issue
Block a user