Skip to content

Commit

Permalink
fix: mark message as read
Browse files Browse the repository at this point in the history
  • Loading branch information
cryindevil committed Aug 9, 2024
1 parent 4913a7f commit 2498c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repository/forum/forum_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ class ForumRepository extends BaseRepositoryWithDio {
}

Future<void> modifyMessage(OTMessage message) async {
await dio.put("$_BASE_URL/messages/${message.message_id}",
await dio.delete("$_BASE_URL/messages/${message.message_id}",
data: {
"has_read": message.has_read,
},
Expand Down

0 comments on commit 2498c26

Please sign in to comment.