mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Remove isFeatureAvailable and remove compatibility check.
This commit is contained in:
committed by
Cody Henthorne
parent
ca36eaacce
commit
2315a1c632
@@ -1377,7 +1377,7 @@ public final class MessageContentProcessor {
|
||||
private void handleStoryMessage(@NonNull SignalServiceContent content, @NonNull SignalServiceStoryMessage message, @NonNull Recipient senderRecipient, @NonNull Recipient threadRecipient) throws StorageFailedException {
|
||||
log(content.getTimestamp(), "Story message.");
|
||||
|
||||
if (!Stories.isFeatureAvailable()) {
|
||||
if (!Stories.isFeatureFlagEnabled()) {
|
||||
warn(content.getTimestamp(), "Dropping unsupported story.");
|
||||
return;
|
||||
}
|
||||
@@ -1519,7 +1519,7 @@ public final class MessageContentProcessor {
|
||||
private @Nullable MessageId handleStoryReaction(@NonNull SignalServiceContent content, @NonNull SignalServiceDataMessage message, @NonNull Recipient senderRecipient) throws StorageFailedException {
|
||||
log(content.getTimestamp(), "Story reaction.");
|
||||
|
||||
if (!Stories.isFeatureAvailable()) {
|
||||
if (!Stories.isFeatureFlagEnabled()) {
|
||||
warn(content.getTimestamp(), "Dropping unsupported story reaction.");
|
||||
return null;
|
||||
}
|
||||
@@ -1620,7 +1620,7 @@ public final class MessageContentProcessor {
|
||||
private @Nullable MessageId handleStoryReply(@NonNull SignalServiceContent content, @NonNull SignalServiceDataMessage message, @NonNull Recipient senderRecipient, long receivedTime) throws StorageFailedException {
|
||||
log(content.getTimestamp(), "Story reply.");
|
||||
|
||||
if (!Stories.isFeatureAvailable()) {
|
||||
if (!Stories.isFeatureFlagEnabled()) {
|
||||
warn(content.getTimestamp(), "Dropping unsupported story reply.");
|
||||
return null;
|
||||
}
|
||||
@@ -1901,7 +1901,7 @@ public final class MessageContentProcessor {
|
||||
private long handleSynchronizeSentStoryReply(@NonNull SentTranscriptMessage message, long envelopeTimestamp)
|
||||
throws MmsException, BadGroupIdException {
|
||||
|
||||
if (!Stories.isFeatureAvailable()) {
|
||||
if (!Stories.isFeatureFlagEnabled()) {
|
||||
warn(envelopeTimestamp, "Dropping unsupported story reply sync message.");
|
||||
return -1L;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user