Room selection: add a limitation of 10 rooms for Share and Forward actions.

This commit is contained in:
Benoit Marty
2026-06-12 09:22:29 +02:00
parent c0c2f59822
commit d33852d32f
11 changed files with 75 additions and 17 deletions
@@ -74,7 +74,10 @@ class ForwardMessagesNode(
return roomSelectEntryPoint.createNode(
parentNode = this,
buildContext = buildContext,
params = RoomSelectEntryPoint.Params(mode = RoomSelectMode.Forward),
params = RoomSelectEntryPoint.Params(
mode = RoomSelectMode.Forward,
maxNumberOfRooms = RoomSelectEntryPoint.DEFAULT_MAX_NUMBER_OF_ROOMS,
),
callback = callback,
)
}