mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -409,13 +409,13 @@ class _ReplyPageState extends CommonRichTextPubPageState<ReplyPage> {
|
||||
@override
|
||||
Future<void> onCustomPublish({List? pictures}) async {
|
||||
Map<String, int> atNameToMid = {};
|
||||
for (var e in editController.items) {
|
||||
for (final e in editController.items) {
|
||||
if (e.type == RichTextType.at) {
|
||||
atNameToMid[e.rawText] ??= int.parse(e.id!);
|
||||
}
|
||||
}
|
||||
String message = editController.rawText;
|
||||
var result = await VideoHttp.replyAdd(
|
||||
final result = await VideoHttp.replyAdd(
|
||||
type: widget.replyType,
|
||||
oid: widget.oid,
|
||||
root: widget.root,
|
||||
|
||||
Reference in New Issue
Block a user