Temporary implem for sdk changes on beacon

This commit is contained in:
Valere
2026-07-13 14:25:25 +02:00
parent cf21bb1045
commit 8b78259b17
2 changed files with 8 additions and 0 deletions
@@ -71,6 +71,7 @@ private fun StateEventContent.toContent(): NotificationContent.StateEvent {
is StateEventContent.RoomTopic -> NotificationContent.StateEvent.RoomTopic(topic)
StateEventContent.SpaceChild -> NotificationContent.StateEvent.SpaceChild
StateEventContent.SpaceParent -> NotificationContent.StateEvent.SpaceParent
StateEventContent.BeaconInfo -> NotificationContent.StateEvent.Beacon
}
}
@@ -108,6 +109,7 @@ private fun MessageLikeEventContent.toContent(senderId: UserId): NotificationCon
)
MessageLikeEventContent.Sticker -> NotificationContent.MessageLike.Sticker
is MessageLikeEventContent.Poll -> NotificationContent.MessageLike.Poll(senderId, question)
MessageLikeEventContent.Beacon -> NotificationContent.MessageLike.Beacon
}
}
}