Update messages

This commit is contained in:
Mikołaj Pich 2024-05-10 13:03:05 +02:00 committed by GitHub
parent bf45fc032e
commit a3e6f5aeb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,25 @@
import io.github.wulkanowy.messages.pojo.* import io.github.wulkanowy.messages.pojo.*
val messages = listOf( val messages = listOf(
Message(
id = 76,
title = "Drodzy użytkownicy",
content = "Klikajcie tutaj, żeby przeczytać wątek o ostatnich problemach",
priority = MessagePriority.MEDIUM,
targetRegisterHost = RegisterAddress.VULCAN.url,
destinationUrl = "https://www.facebook.com/wulkanowy/posts/865106782298758",
messageTypes = listOf(
MessageType.DASHBOARD_MESSAGE,
),
isXVisible = true,
isOkVisible = false,
isVisible = true,
versionMin = 164,
),
Message( Message(
id = 75, id = 75,
title = "Drodzy użytkownicy", title = "Drodzy użytkownicy",
content = "Zablokowali nas. Znowu", content = "Zablokowali nas. Znowu. Niedługo będzie aktualizacja z poprawką",
priority = MessagePriority.HIGH, priority = MessagePriority.HIGH,
targetRegisterHost = RegisterAddress.VULCAN.url, targetRegisterHost = RegisterAddress.VULCAN.url,
destinationUrl = "https://www.facebook.com/wulkanowy/posts/865106782298758", destinationUrl = "https://www.facebook.com/wulkanowy/posts/865106782298758",
@ -13,9 +28,10 @@ val messages = listOf(
MessageType.LOGIN_MESSAGE, MessageType.LOGIN_MESSAGE,
MessageType.LOGIN_STUDENT_SELECT_MESSAGE, MessageType.LOGIN_STUDENT_SELECT_MESSAGE,
), ),
isXVisible = true, isXVisible = false,
isOkVisible = false, isOkVisible = false,
isVisible = true, isVisible = true,
versionMax = 163,
), ),
Message( Message(
id = 74, id = 74,