Skip to content

Commit

Permalink
Revert constifying Room::userIdsAtEvent()
Browse files Browse the repository at this point in the history
To avoid ABI breakage within 0.8.x. Fixes #702.
  • Loading branch information
KitsuneRal committed Sep 11, 2023
1 parent 14247af commit 16bde5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Quotient/room.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ Room::rev_iter_t Room::fullyReadMarker() const
return findInTimeline(d->fullyReadUntilEventId);
}

QSet<QString> Room::userIdsAtEvent(const QString& eventId) const
QSet<QString> Room::userIdsAtEvent(const QString& eventId)
{
return d->eventIdReadUsers.value(eventId);
}
Expand Down
2 changes: 1 addition & 1 deletion Quotient/room.h
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ class QUOTIENT_API Room : public QObject {
//! it's recommended to ensure that all room members are loaded
//! before operating on the result of this function.
//! \sa lastReadReceipt, allMembersLoaded
QSet<QString> userIdsAtEvent(const QString& eventId) const;
QSet<QString> userIdsAtEvent(const QString& eventId);

[[deprecated("Use userIdsAtEvent instead")]]
QSet<User*> usersAtEventId(const QString& eventId);
Expand Down

0 comments on commit 16bde5d

Please sign in to comment.