fix: mobile users receives two push notifications when a direct call is started (#31164)
parent
899031337c
commit
4e49fcc7d9
@ -0,0 +1,5 @@ |
||||
--- |
||||
'@rocket.chat/meteor': patch |
||||
--- |
||||
|
||||
Improved the experience of receiving conference calls on the mobile app by disabling the push notification for the "new call" message if a push is already being sent to trigger the phone's ringing tone. |
||||
@ -0,0 +1,4 @@ |
||||
import type { IRoom } from '@rocket.chat/core-typings'; |
||||
|
||||
export const isRoomCompatibleWithVideoConfRinging = (roomType: IRoom['t'], roomUids: IRoom['uids']): boolean => |
||||
Boolean(roomType === 'd' && roomUids && roomUids.length <= 2); |
||||
Loading…
Reference in new issue