Fix doc link

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille
2025-05-20 09:46:36 +02:00
committed by Ivan Enderlin
parent 254d86bc45
commit 9f196be2f6

View File

@@ -3163,8 +3163,8 @@ impl Room {
/// Set a flag on the room to indicate that the user has explicitly marked
/// it as (un)read.
///
/// This is a no-op if [`Room::is_marked_unread()`] returns the same value
/// as `unread`.
/// This is a no-op if [`BaseRoom::is_marked_unread()`] returns the same
/// value as `unread`.
pub async fn set_unread_flag(&self, unread: bool) -> Result<()> {
if self.is_marked_unread() == unread {
// The request is not necessary.