Merge branch 'develop' into feat/update-deps
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
🐞 Fixed
|
🐞 Fixed
|
||||||
|
|
||||||
- Fixed streamWatchers. Before it was always new, now it is possible to follow the watchers of a channel.
|
- Fixed streamWatchers. Before it was always new, now it is possible to follow the watchers of a channel.
|
||||||
|
- Make `Message.i18n` field read-only.
|
||||||
|
|
||||||
🔄 Changed
|
🔄 Changed
|
||||||
|
|
||||||
|
|||||||
@@ -394,7 +394,12 @@ void main() {
|
|||||||
path,
|
path,
|
||||||
data: {'language': language},
|
data: {'language': language},
|
||||||
)).thenAnswer((_) async => successResponse(path, data: {
|
)).thenAnswer((_) async => successResponse(path, data: {
|
||||||
'message': translatedMessage.toJson(),
|
'message': {
|
||||||
|
...translatedMessage.toJson(),
|
||||||
|
'i18n': {
|
||||||
|
language: translatedMessageText,
|
||||||
|
},
|
||||||
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
final res = await messageApi.translateMessage(messageId, language);
|
final res = await messageApi.translateMessage(messageId, language);
|
||||||
|
|||||||
Reference in New Issue
Block a user