Эх сурвалжийг харах

Fix incoming group call text

Tulir Asokan 3 жил өмнө
parent
commit
2977994f74
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      user.go

+ 1 - 1
user.go

@@ -430,7 +430,7 @@ func (user *User) handleCallStart(sender types.JID, id, callType string) {
 	portal := user.GetPortalByJID(sender)
 	text := "Incoming call"
 	if callType != "" {
-		text = fmt.Sprintf("Incoming %s call", text)
+		text = fmt.Sprintf("Incoming %s call", callType)
 	}
 	portal.messages <- PortalMessage{
 		fake: &fakeMessage{