mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 06:10:30 +08:00
Suppress warnings
This commit is contained in:
parent
9aa79e69b0
commit
3e3a792c6c
@ -159,6 +159,7 @@ internal class MessageSvc {
|
||||
}.groups.first { it.groupUin == msg.msgHead.fromUin }
|
||||
|
||||
|
||||
@Suppress("DuplicatedCode")
|
||||
val newGroup = GroupImpl(
|
||||
bot = bot,
|
||||
coroutineContext = bot.coroutineContext,
|
||||
@ -264,6 +265,7 @@ internal class MessageSvc {
|
||||
/**
|
||||
* 发送好友消息
|
||||
*/
|
||||
@Suppress("FunctionName")
|
||||
fun ToFriend(
|
||||
client: QQAndroidClient,
|
||||
toUin: Long,
|
||||
@ -293,6 +295,7 @@ internal class MessageSvc {
|
||||
/**
|
||||
* 发送群消息
|
||||
*/
|
||||
@Suppress("FunctionName")
|
||||
fun ToGroup(
|
||||
client: QQAndroidClient,
|
||||
groupCode: Long,
|
||||
|
Loading…
Reference in New Issue
Block a user