Remove a metrics tag for "has spam reporting token"

This commit is contained in:
Jon Chambers 2024-06-11 10:11:43 -04:00 committed by Jon Chambers
parent f435b612c9
commit 5fc926271f
1 changed files with 1 additions and 3 deletions

View File

@ -41,7 +41,6 @@ public class MessageSender {
private static final String URGENT_TAG_NAME = "urgent";
private static final String STORY_TAG_NAME = "story";
private static final String SEALED_SENDER_TAG_NAME = "sealedSender";
private static final String HAS_SPAM_REPORTING_TOKEN_TAG_NAME = "hasSpamReportingToken";
public MessageSender(ClientPresenceManager clientPresenceManager,
MessagesManager messagesManager,
@ -104,8 +103,7 @@ public class MessageSender {
CLIENT_ONLINE_TAG_NAME, String.valueOf(clientPresent),
URGENT_TAG_NAME, String.valueOf(message.getUrgent()),
STORY_TAG_NAME, String.valueOf(message.getStory()),
SEALED_SENDER_TAG_NAME, String.valueOf(!message.hasSourceUuid()),
HAS_SPAM_REPORTING_TOKEN_TAG_NAME, String.valueOf(message.getReportSpamToken() != null && !message.getReportSpamToken().isEmpty()))
SEALED_SENDER_TAG_NAME, String.valueOf(!message.hasSourceUuid()))
.increment();
}
}