Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-07 14:04:14 +08:00
parent e9da2e8d6b
commit 41ad5c45ed

View File

@@ -93,11 +93,8 @@ class WhisperDetailController extends GetxController {
var result = await MsgHttp.sendMsg( var result = await MsgHttp.sendMsg(
senderUid: ownerMid, senderUid: ownerMid,
receiverId: int.parse(mid!), receiverId: int.parse(mid!),
content: msgType == 5 content:
? message msgType == 5 ? message : jsonEncode(picMsg ?? {"content": message}),
: picMsg != null
? jsonEncode(picMsg)
: '{"content":"$message"}',
msgType: msgType ?? (picMsg != null ? 2 : 1), msgType: msgType ?? (picMsg != null ? 2 : 1),
); );
SmartDialog.dismiss(); SmartDialog.dismiss();