Commit graph

12 commits

Author SHA1 Message Date
Loren Burkholder
de3cdd590f Add status message to D-Bus API 2022-11-05 13:13:18 -04:00
Nicolas Werner
30fde1f8ac
Don't send avatars over dbus by default
This should reduce payload size a lot
2022-10-09 00:56:02 +02:00
Nicolas Werner
851333a50d
Switch to clang-format14 2022-09-25 20:05:08 +02:00
Nicolas Werner
9056ca8615
Use normal instead of recursive mutex 2022-07-11 16:52:05 +02:00
Nicolas Werner
eeaf16e442
Fix race condition in dbus API 2022-07-11 15:14:30 +02:00
Nicolas Werner
6ead7b0ba2
Fix rooms failing to load over dbus if image can't be downloaded 2022-07-10 15:25:41 +02:00
Nicolas Werner
28acea55e2
Remove redundant alias function 2022-06-17 03:14:48 +02:00
Nicolas Werner
90da39313f
Use right linter 2022-05-10 03:53:35 +02:00
Nicolas Werner
a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Loren Burkholder
da6b3eb8f4
D-Bus fixes (#1048)
According to LorenDB's First Law of Software Development, once a developer has committed or merged a new feature, he will find at least one problem with the implementation.

I realized that I was constructing the room info items with some parameters out of order, which required a rather urgent fix. Furthermore, I fixed the image decoding algorithms in the QDBusArgument operator. Finally, I switched the API version parameter back to QString, since passing it as a QVersionNumber would create a problem for non-Qt API users.

On the general improvements side of things, I added some handy wrappers for D-Bus calls so that other devs that copy the NhekoDBusApi files to use for their own applications won't have to go to the effort of making the D-Bus calls themselves.
2022-04-18 16:50:15 +00:00
Nicolas Werner
c3efab43fb Cleanup some random dbus stuff 2022-04-14 17:33:28 +02:00
Loren Burkholder
686ebfdbec
Add D-Bus API (#916)
This adds functionality for viewing joined rooms and activating rooms.
2022-04-14 15:02:55 +00:00