Fixed sorting on talk chats

This commit is contained in:
MineTec committed 2023-07-09 21:44:28 +02:00
1 parent 2ddaa17a81
commit 5d62f1b863
3 files changed
+16 -11

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
import 'dart:convert';
import 'package:http/http.dart' as http;
import '../../apiError.dart';
import '../../apiRequest.dart';
@@ -17,6 +19,6 @@ abstract class MessageApi<T> extends ApiRequest {
throw ApiError("Request could not be dispatched!");
}
return assemble(data.body);
return assemble(utf8.decode(data.bodyBytes));
}
}