Skip to content

Commit ef34948

Browse files
committed
Use home wiki for unread notifications.
1 parent 2cd8492 commit ef34948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/wikipedia/notifications/NotificationRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class NotificationRepository(private val notificationDao: NotificationDao) {
2020
}
2121

2222
suspend fun fetchUnreadWikiDbNames(): Map<String, WikiSite> {
23-
val response = ServiceFactory.get(Constants.commonsWikiSite).unreadNotificationWikis()
23+
val response = ServiceFactory.get(WikipediaApp.instance.wikiSite).unreadNotificationWikis()
2424
return response.query?.unreadNotificationWikis!!
2525
.mapNotNull { (key, wiki) -> wiki.source?.let { key to WikiSite(it.base) } }.toMap()
2626
}

0 commit comments

Comments
 (0)