fix(protocol): read group mute expire from official proto tags (#356)

get_group_info / get_group_list mapped FE5 tag 31 and 88D tag 59 as
shutUpAllTimestamp, then treated any >0 value as muted. Official
wrapper.node maps those tags to internal 60259; the real expire
(60027 / groupShutupExpireTime) is FE5 tag 10 and 88D tag 45
(request mask 45). After a group had been muted, 60259 often stayed
nonzero so group_all_shut stuck at -1. Read the 60027 tags and treat
all-mute as expire > now (0xFFFFFFFF is permanent).

Fixes #356
This commit is contained in:
DrSmoothl committed 2026-08-13 12:44:56 +08:00
1 parent 2f5065545a
commit f100faaeb6
8 files changed
+93 -12

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ export interface QQGroupInfo {
level?: number;
/** Group memo / announcement preview. '' when unknown (#197). */
memo?: string;
/** Whether the group currently has group-wide mute enabled. */
/** Whether group-wide mute is currently in effect (expire still in the future). */
allMuted?: boolean;
}