Skip to content

Commit

Permalink
Make incoming call message clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 21, 2023
1 parent 4ad2a9e commit 6178ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,9 @@ func (user *User) handleCallStart(sender types.JID, id, callType string, ts time
return
}
portal := user.GetPortalByJID(sender)
text := "Incoming call"
text := "Incoming call. Use the WhatsApp app to answer."
if callType != "" {
text = fmt.Sprintf("Incoming %s call", callType)
text = fmt.Sprintf("Incoming %s call. Use the WhatsApp app to answer.", callType)
}
portal.messages <- PortalMessage{
fake: &fakeMessage{
Expand Down

0 comments on commit 6178ced

Please sign in to comment.