Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
ba352a98
Commit
ba352a98
authored
Feb 07, 2020
by
jiahua.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix launch issue
parent
c50c4365
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt
...ommonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt
+5
-0
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/Image.kt
...c/commonMain/kotlin/net.mamoe.mirai/message/data/Image.kt
+0
-1
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt
View file @
ba352a98
...
@@ -232,10 +232,15 @@ internal class GroupImpl(
...
@@ -232,10 +232,15 @@ internal class GroupImpl(
)
:
ContactImpl
(),
Group
{
)
:
ContactImpl
(),
Group
{
override
var
name
by
Delegates
.
observable
(
initName
)
{
_
,
oldValue
,
newValue
->
override
var
name
by
Delegates
.
observable
(
initName
)
{
_
,
oldValue
,
newValue
->
println
(
"发包了-2"
)
this
.
checkBotPermissionOperator
()
this
.
checkBotPermissionOperator
()
println
(
"发包了-1"
)
if
(
oldValue
!=
newValue
)
{
if
(
oldValue
!=
newValue
)
{
println
(
"发包了0"
)
launch
{
launch
{
println
(
"发包了1"
)
bot
.
network
.
run
{
bot
.
network
.
run
{
println
(
"发包了2"
)
TroopManagement
.
GroupOperation
.
name
(
TroopManagement
.
GroupOperation
.
name
(
client
=
bot
.
client
,
client
=
bot
.
client
,
groupCode
=
id
,
groupCode
=
id
,
...
...
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/Image.kt
View file @
ba352a98
...
@@ -127,7 +127,6 @@ abstract class NotOnlineImage : Image() {
...
@@ -127,7 +127,6 @@ abstract class NotOnlineImage : Image() {
override
val
imageId
:
String
get
()
=
resourceId
override
val
imageId
:
String
get
()
=
resourceId
}
}
@Serializable
data class
NotOnlineImageFromFile
(
data class
NotOnlineImageFromFile
(
override
val
resourceId
:
String
,
override
val
resourceId
:
String
,
override
val
md5
:
ByteArray
,
override
val
md5
:
ByteArray
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment