Use new endpoint for badge config

This commit is contained in:
ayumi-signal 2023-10-06 14:31:17 -07:00 committed by GitHub
parent 24f17f2cf9
commit 064659657f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -2262,7 +2262,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
if (!messaging) {
throw new Error(`${idLog}: messaging is not available`);
}
const response = await messaging.server.getBoostBadgesFromServer(
const response = await messaging.server.getSubscriptionConfiguration(
userLanguages
);
const boostBadgesByLevel = parseBoostBadgeListFromServer(