Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -82,8 +82,9 @@ class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
var result = await ImGrpc.sendMsg(
senderUid: accountService.mid,
receiverId: mid!,
content:
msgType == 5 ? message! : jsonEncode(picMsg ?? {"content": message!}),
content: msgType == 5
? message!
: jsonEncode(picMsg ?? {"content": message!}),
msgType: MsgType.values[msgType ?? (picMsg != null ? 2 : 1)],
);
SmartDialog.dismiss();