From 15901086d197f0d5133f6142462523e15967f37c Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 16 Nov 2019 23:33:04 +0800 Subject: [PATCH] Fix company name --- .../src/commonMain/kotlin/net.mamoe.mirai/contact/Contact.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Contact.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Contact.kt index 71ff7ee67..8f9eb3610 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Contact.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/contact/Contact.kt @@ -213,7 +213,7 @@ data class Profile( (school?.let { "school=$school, " } ?: "") + (homepage?.let { "homepage=$homepage, " } ?: "") + (email?.let { "email=$email, " } ?: "") + - (company?.let { "company=$company?," } ?: "") + + (company?.let { "company=$company," } ?: "") + ")"// 最终会是 ", )", 但这并不影响什么. }