mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Remove call back/again buttons on pending call
This commit is contained in:
@@ -104,6 +104,9 @@ function renderCallingNotificationButton(
|
||||
switch (props.callHistory.mode) {
|
||||
case CallMode.Direct: {
|
||||
const { direction, type } = props.callHistory;
|
||||
if (props.callHistory.status === DirectCallStatus.Pending) {
|
||||
return null;
|
||||
}
|
||||
buttonText =
|
||||
direction === CallDirection.Incoming
|
||||
? i18n('icu:calling__call-back')
|
||||
|
||||
Reference in New Issue
Block a user