Browse Source

Fix incoming group call text

Tulir Asokan 3 năm trước cách đây
mục cha
commit
2977994f74
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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{