mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
This commit is contained in:
parent
e891bc8512
commit
59d762eecf
@ -47,7 +47,7 @@ internal object GlobalEventTransmitter : QQInterfaces() {
|
|||||||
this.messageSeq = record.msgSeq
|
this.messageSeq = record.msgSeq
|
||||||
this.contact = Contact.newBuilder().apply {
|
this.contact = Contact.newBuilder().apply {
|
||||||
this.scene = Scene.GROUP
|
this.scene = Scene.GROUP
|
||||||
this.peer = record.senderUid
|
this.peer = record.peerUin.toString()
|
||||||
this.subPeer = record.peerUid
|
this.subPeer = record.peerUid
|
||||||
}.build()
|
}.build()
|
||||||
this.sender = Sender.newBuilder().apply {
|
this.sender = Sender.newBuilder().apply {
|
||||||
@ -284,7 +284,7 @@ internal object GlobalEventTransmitter : QQInterfaces() {
|
|||||||
type: GroupMemberDecreasedNotice.GroupMemberDecreasedType
|
type: GroupMemberDecreasedNotice.GroupMemberDecreasedType
|
||||||
): Boolean {
|
): Boolean {
|
||||||
pushNotice(NoticeEvent.newBuilder().apply {
|
pushNotice(NoticeEvent.newBuilder().apply {
|
||||||
this.type = NoticeEvent.NoticeType.GROUP_MEMBER_INCREASE
|
this.type = NoticeEvent.NoticeType.GROUP_MEMBER_DECREASE
|
||||||
this.time = time.toInt()
|
this.time = time.toInt()
|
||||||
this.groupMemberDecrease = GroupMemberDecreasedNotice.newBuilder().apply {
|
this.groupMemberDecrease = GroupMemberDecreasedNotice.newBuilder().apply {
|
||||||
this.groupId = groupCode
|
this.groupId = groupCode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user