diff --git a/frontend/openchat-push/src/push_sw.ts b/frontend/openchat-push/src/push_sw.ts index eb619c2558..633d9743df 100644 --- a/frontend/openchat-push/src/push_sw.ts +++ b/frontend/openchat-push/src/push_sw.ts @@ -303,11 +303,8 @@ function defaultMessage(messageType: string): string { switch (messageTypeLower) { case "poll": return "Created a poll"; - // Remove this case once the backend is updated to send the correct message type - case "custom": - return "Meme message"; default: { - return `${toTitleCase(messageType)} message`; + return `${toTitleCase(messageType.replace("_", " "))} message`; } } }