libQuotient
libQuotient copied to clipboard
A Qt library to write cross-platform clients for Matrix
- modify setCanonicalAlias and setLocalAliases to prevent the same alias being the canonical and an alt alias (the server doesn't prevent this) - add functions to connection to map and...
See https://github.com/matrix-org/matrix-spec/pull/1271
In theory, images from sticker events can be downloaded; in practice though, `Room::Private::getEventWithFile()` is hardwired to only work with `RoomMessageEvent`. In anticipation of extensible events, this is not right anyway,...
As of 0.7, there's a stub `Room::checkForNotifications()` virtual function that clients have to override to make the library code for notifications/highlights work in a meaningful way. Even without full-blown push-rules...
**Describe the bug** We have the following code in neochat for visualising a redacted event in the timeline. ``` auto reason = m_event->redactedBecause()->reason(); return (reason.isEmpty()) ? i18n("[This message was deleted]")...
`PendingEventItem` screams that it has semantics of a future even with its name - now one can obtain a future from it and do useful things in `then()`, instead of...
Add a function to get the power level for a room member in the context of the current room. Desirable to make sorting via power level easier.
With all event classes ultimately being mere wrappers around `QJsonObject`, there's no particular reason we shouldn't enable their serialisation by simply calling `Event::fullJson()`. There used to be `Event::toJson()` before but...
Something we use in NeoChat I wanted to upstream