diff --git a/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/GProGuildTopFeedMsg.java b/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/GProGuildTopFeedMsg.java new file mode 100644 index 0000000..436faaa --- /dev/null +++ b/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/GProGuildTopFeedMsg.java @@ -0,0 +1,4 @@ +package com.tencent.qqnt.kernel.nativeinterface; + +public class GProGuildTopFeedMsg { +} diff --git a/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/IKernelMsgListener.java b/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/IKernelMsgListener.java index 22aa847..9094857 100644 --- a/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/IKernelMsgListener.java +++ b/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/IKernelMsgListener.java @@ -18,7 +18,7 @@ public interface IKernelMsgListener { void onCustomWithdrawConfigUpdate(CustomWithdrawConfig customWithdrawConfig); - void onDraftUpdate(Contact contact, ArrayList arrayList, long j2); + void onDraftUpdate(Contact contact, ArrayList arrayList, long j); void onEmojiDownloadComplete(EmojiNotifyInfo emojiNotifyInfo); @@ -32,7 +32,7 @@ public interface IKernelMsgListener { void onFirstViewGroupGuildMapping(ArrayList arrayList); - void onGrabPasswordRedBag(int i2, String str, int i3, RecvdOrder recvdOrder, MsgRecord msgRecord); + void onGrabPasswordRedBag(int i, String str, int i2, RecvdOrder recvdOrder, MsgRecord msgRecord); void onGroupFileInfoAdd(GroupItem groupItem); @@ -50,6 +50,8 @@ public interface IKernelMsgListener { void onGuildNotificationAbstractUpdate(GuildNotificationAbstractInfo guildNotificationAbstractInfo); + void onGuildTopFeedUpdate(GProGuildTopFeedMsg gProGuildTopFeedMsg); + void onHitCsRelatedEmojiResult(DownloadRelateEmojiResultInfo downloadRelateEmojiResultInfo); void onHitEmojiKeywordResult(HitRelatedEmojiWordsResult hitRelatedEmojiWordsResult); @@ -64,7 +66,7 @@ public interface IKernelMsgListener { void onLineDev(ArrayList arrayList); - void onLogLevelChanged(long j2); + void onLogLevelChanged(long j); void onMsgAbstractUpdate(ArrayList arrayList); @@ -78,14 +80,16 @@ public interface IKernelMsgListener { void onMsgInfoListUpdate(ArrayList arrayList); - void onMsgQRCodeStatusChanged(int i2); + void onMsgQRCodeStatusChanged(int i); - void onMsgRecall(int i2, String str, long j2); + void onMsgRecall(int i, String str, long j); void onMsgSecurityNotify(MsgRecord msgRecord); void onMsgSettingUpdate(MsgSetting msgSetting); + void onMsgWithRichLinkInfoUpdate(ArrayList arrayList); + void onNtFirstViewMsgSyncEnd(); void onNtMsgSyncEnd(); @@ -94,11 +98,11 @@ public interface IKernelMsgListener { void onReadFeedEventUpdate(FirstViewDirectMsgNotifyInfo firstViewDirectMsgNotifyInfo); - void onRecvGroupGuildFlag(int i2); + void onRecvGroupGuildFlag(int i); void onRecvMsg(ArrayList arrayList); - void onRecvMsgSvrRspTransInfo(long j2, Contact contact, int i2, int i3, String str, byte[] bArr); + void onRecvMsgSvrRspTransInfo(long j, Contact contact, int i, int i2, String str, byte[] bArr); void onRecvOnlineFileMsg(ArrayList arrayList); @@ -106,7 +110,9 @@ public interface IKernelMsgListener { void onRecvSysMsg(ArrayList arrayList); - void onRecvUDCFlag(int i2); + void onRecvUDCFlag(int i); + + void onRedTouchChanged(); void onRichMediaDownloadComplete(FileTransNotifyInfo fileTransNotifyInfo); @@ -116,9 +122,9 @@ public interface IKernelMsgListener { void onSearchGroupFileInfoUpdate(SearchGroupFileResult searchGroupFileResult); - void onSendMsgError(long j2, Contact contact, int i2, String str); + void onSendMsgError(long j, Contact contact, int i, String str); - void onSysMsgNotification(int i2, long j2, long j3, boolean z, ArrayList arrayList); + void onSysMsgNotification(int i, long j, long j2, boolean z, ArrayList arrayList); void onTempChatInfoUpdate(TempChatInfo tempChatInfo); @@ -130,9 +136,11 @@ public interface IKernelMsgListener { void onUserOnlineStatusChanged(boolean z); + void onUserSecQualityChanged(QueryUserSecQualityRsp queryUserSecQualityRsp); + void onUserTabStatusChanged(ArrayList arrayList); - void onlineStatusBigIconDownloadPush(int i2, long j2, String str); + void onlineStatusBigIconDownloadPush(int i, long j, String str); - void onlineStatusSmallIconDownloadPush(int i2, long j2, String str); + void onlineStatusSmallIconDownloadPush(int i, long j, String str); } diff --git a/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/QueryUserSecQualityRsp.java b/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/QueryUserSecQualityRsp.java new file mode 100644 index 0000000..6f340fe --- /dev/null +++ b/qqinterface/src/main/java/com/tencent/qqnt/kernel/nativeinterface/QueryUserSecQualityRsp.java @@ -0,0 +1,4 @@ +package com.tencent.qqnt.kernel.nativeinterface; + +public class QueryUserSecQualityRsp { +} diff --git a/xposed/src/main/java/qq/service/internals/PrimitiveListener.kt b/xposed/src/main/java/qq/service/internals/PrimitiveListener.kt index 429f6e4..5353a3e 100644 --- a/xposed/src/main/java/qq/service/internals/PrimitiveListener.kt +++ b/xposed/src/main/java/qq/service/internals/PrimitiveListener.kt @@ -216,6 +216,9 @@ internal object PrimitiveListener { }.decodeProtobuf() } val groupId = event.groupCode.toLong() + if (event.uniqueTitleChangeDetail == null) { + return + } val detail = event.uniqueTitleChangeDetail!!.first() // todo 贴表情也走的 732 16 这里 diff --git a/xposed/src/main/java/qq/service/kernel/SimpleKernelMsgListener.kt b/xposed/src/main/java/qq/service/kernel/SimpleKernelMsgListener.kt index b9f98fc..ae4f400 100644 --- a/xposed/src/main/java/qq/service/kernel/SimpleKernelMsgListener.kt +++ b/xposed/src/main/java/qq/service/kernel/SimpleKernelMsgListener.kt @@ -12,6 +12,7 @@ import com.tencent.qqnt.kernel.nativeinterface.FileTransNotifyInfo import com.tencent.qqnt.kernel.nativeinterface.FirstViewDirectMsgNotifyInfo import com.tencent.qqnt.kernel.nativeinterface.FirstViewGroupGuildInfo import com.tencent.qqnt.kernel.nativeinterface.FreqLimitInfo +import com.tencent.qqnt.kernel.nativeinterface.GProGuildTopFeedMsg import com.tencent.qqnt.kernel.nativeinterface.GroupFileListResult import com.tencent.qqnt.kernel.nativeinterface.GroupGuildNotifyInfo import com.tencent.qqnt.kernel.nativeinterface.GroupItem @@ -27,6 +28,7 @@ import com.tencent.qqnt.kernel.nativeinterface.MsgAbstract import com.tencent.qqnt.kernel.nativeinterface.MsgElement import com.tencent.qqnt.kernel.nativeinterface.MsgRecord import com.tencent.qqnt.kernel.nativeinterface.MsgSetting +import com.tencent.qqnt.kernel.nativeinterface.QueryUserSecQualityRsp import com.tencent.qqnt.kernel.nativeinterface.RecvdOrder import com.tencent.qqnt.kernel.nativeinterface.RelatedWordEmojiInfo import com.tencent.qqnt.kernel.nativeinterface.SearchGroupFileResult @@ -135,7 +137,10 @@ abstract class SimpleKernelMsgListener: IKernelMsgListener { } - override fun onHitCsRelatedEmojiResult(downloadRelateEmojiResultInfo: DownloadRelateEmojiResultInfo?) { + override fun onGuildTopFeedUpdate(gProGuildTopFeedMsg: GProGuildTopFeedMsg?) { + } + + override fun onHitCsRelatedEmojiResult(downloadRelateEmojiResultInfo: DownloadRelateEmojiResultInfo?) { } @@ -207,7 +212,10 @@ abstract class SimpleKernelMsgListener: IKernelMsgListener { } - override fun onNtFirstViewMsgSyncEnd() { + override fun onMsgWithRichLinkInfoUpdate(arrayList: ArrayList?) { + } + + override fun onNtFirstViewMsgSyncEnd() { } @@ -258,7 +266,10 @@ abstract class SimpleKernelMsgListener: IKernelMsgListener { } - override fun onRichMediaDownloadComplete(fileTransNotifyInfo: FileTransNotifyInfo?) { + override fun onRedTouchChanged() { + } + + override fun onRichMediaDownloadComplete(fileTransNotifyInfo: FileTransNotifyInfo?) { } @@ -308,7 +319,10 @@ abstract class SimpleKernelMsgListener: IKernelMsgListener { } - override fun onUserTabStatusChanged(arrayList: ArrayList?) { + override fun onUserSecQualityChanged(queryUserSecQualityRsp: QueryUserSecQualityRsp?) { + } + + override fun onUserTabStatusChanged(arrayList: ArrayList?) { }