add guest user notifications - akka-apps
This commit is contained in:
parent
28414c1a5a
commit
ec3b43b3bd
@ -60,6 +60,16 @@ trait RegisterUserReqMsgHdlr {
|
||||
val guest = GuestWaiting(regUser.id, regUser.name, regUser.role, regUser.guest, regUser.avatarURL, regUser.authed, regUser.registeredOn)
|
||||
addGuestToWaitingForApproval(guest, liveMeeting.guestsWaiting)
|
||||
notifyModeratorsOfGuestWaiting(Vector(guest), liveMeeting.users2x, liveMeeting.props.meetingProp.intId)
|
||||
val notifyEvent = MsgBuilder.buildNotifyRoleInMeetingEvtMsg(
|
||||
"MODERATOR",
|
||||
liveMeeting.props.meetingProp.intId,
|
||||
"info",
|
||||
"user",
|
||||
"app.userList.guest.pendingGuestAlert",
|
||||
"Notification that a new guest user joined the session",
|
||||
Vector(s"${regUser.name}")
|
||||
)
|
||||
outGW.send(notifyEvent)
|
||||
case GuestStatus.DENY =>
|
||||
val g = GuestApprovedVO(regUser.id, GuestStatus.DENY)
|
||||
UsersApp.approveOrRejectGuest(liveMeeting, outGW, g, SystemUser.ID)
|
||||
|
@ -636,7 +636,7 @@
|
||||
"app.userList.guest.pendingUsers": "{0} Pending Users",
|
||||
"app.userList.guest.noPendingUsers": "Currently no pending users...",
|
||||
"app.userList.guest.pendingGuestUsers": "{0} Pending Guest Users",
|
||||
"app.userList.guest.pendingGuestAlert": "Has joined the session and is waiting for your approval.",
|
||||
"app.userList.guest.pendingGuestAlert": "{0} has joined the session and is waiting for your approval.",
|
||||
"app.userList.guest.rememberChoice": "Remember choice",
|
||||
"app.userList.guest.emptyMessage": "There is currently no message",
|
||||
"app.userList.guest.inputPlaceholder": "Message to the guests' lobby",
|
||||
|
Loading…
Reference in New Issue
Block a user