소스 검색

Fix incoming group call text

Tulir Asokan 3 년 전
부모
커밋
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{