mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
@@ -58,7 +58,7 @@ class WhisperController extends CommonWhisperController<SessionMainReply> {
|
||||
}
|
||||
|
||||
Future<void> queryMsgFeedUnread() async {
|
||||
var res = await ImGrpc.getTotalUnread(unreadType: 2);
|
||||
final res = await ImGrpc.getTotalUnread(unreadType: 2);
|
||||
if (res.isSuccess) {
|
||||
final data = MsgFeedUnread.fromJson(res.data.msgFeedUnread.unread);
|
||||
final unreadCounts = [data.reply, data.at, data.like, data.sysMsg];
|
||||
|
||||
Reference in New Issue
Block a user