浏览代码

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{