mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user