Fixed sorting on talk chats

This commit is contained in:
2023-07-09 21:44:28 +02:00
parent 2ddaa17a81
commit 5d62f1b863
3 changed files with 16 additions and 11 deletions

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));
}
}