mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-03 01:00:14 +08:00
@@ -134,10 +134,10 @@ class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
|
||||
|
||||
Future<LoadingState> onReport(Msg item, int reasonType, String reasonDesc) {
|
||||
return MsgHttp.imMsgReport(
|
||||
accusedUid: item.senderUid,
|
||||
accusedUid: item.senderUid.toInt(),
|
||||
reasonType: reasonType,
|
||||
reasonDesc: reasonDesc,
|
||||
comment: {'group_id': 0, 'msg_key': item.msgKey},
|
||||
comment: {'group_id': 0, 'msg_key': item.msgKey.toString()},
|
||||
extra: {"msg_keys": []},
|
||||
);
|
||||
}
|
||||
|
||||
@@ -435,7 +435,8 @@ class ChatItem extends StatelessWidget {
|
||||
NetworkImgLayer(
|
||||
type: ImageType.emote,
|
||||
width: constrains.maxWidth,
|
||||
height: constrains.maxWidth * 9 / 16,
|
||||
height:
|
||||
constrains.maxWidth / StyleString.aspectRatio16x9,
|
||||
src: content['cover'],
|
||||
),
|
||||
PBadge(
|
||||
|
||||
Reference in New Issue
Block a user