Skip to content

Commit

Permalink
Merge #706(kitsune): Fix ABI breakage in 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal authored Sep 12, 2023
2 parents 14247af + ece707e commit add4dda
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Quotient/room.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,11 @@ QSet<QString> Room::userIdsAtEvent(const QString& eventId) const
return d->eventIdReadUsers.value(eventId);
}

QSet<QString> Room::userIdsAtEvent(const QString& eventId)
{
return d->eventIdReadUsers.value(eventId);
}

QSet<User*> Room::usersAtEventId(const QString& eventId)
{
const auto& userIds = d->eventIdReadUsers.value(eventId);
Expand Down
2 changes: 2 additions & 0 deletions Quotient/room.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ class QUOTIENT_API Room : public QObject {
//! \sa lastReadReceipt, allMembersLoaded
QSet<QString> userIdsAtEvent(const QString& eventId) const;

QSet<QString> userIdsAtEvent(const QString& eventId); // See #706

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

Expand Down

0 comments on commit add4dda

Please sign in to comment.