Commit 3e3a792c authored by Him188's avatar Him188

Suppress warnings

parent 9aa79e69
...@@ -159,6 +159,7 @@ internal class MessageSvc { ...@@ -159,6 +159,7 @@ internal class MessageSvc {
}.groups.first { it.groupUin == msg.msgHead.fromUin } }.groups.first { it.groupUin == msg.msgHead.fromUin }
@Suppress("DuplicatedCode")
val newGroup = GroupImpl( val newGroup = GroupImpl(
bot = bot, bot = bot,
coroutineContext = bot.coroutineContext, coroutineContext = bot.coroutineContext,
...@@ -264,6 +265,7 @@ internal class MessageSvc { ...@@ -264,6 +265,7 @@ internal class MessageSvc {
/** /**
* 发送好友消息 * 发送好友消息
*/ */
@Suppress("FunctionName")
fun ToFriend( fun ToFriend(
client: QQAndroidClient, client: QQAndroidClient,
toUin: Long, toUin: Long,
...@@ -293,6 +295,7 @@ internal class MessageSvc { ...@@ -293,6 +295,7 @@ internal class MessageSvc {
/** /**
* 发送群消息 * 发送群消息
*/ */
@Suppress("FunctionName")
fun ToGroup( fun ToGroup(
client: QQAndroidClient, client: QQAndroidClient,
groupCode: Long, groupCode: Long,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment