q234rty
7a29531739
Fix blurriness of svg icons ( #1108 )
3 years ago
Nicolas Werner
3256d9bafe
Fix clazy complaint about detatch
3 years ago
brausepulver
98de51042a
Get large avatar images as scale and crop locally ( #1107 )
...
Resolves #1069
The Matrix spec requires servers to provide thumbnails at (96x96, crop) and (320x240, scale) among others. [1] The avatars in Nheko's global/room profile and room settings are sized 130x130 on normal scaling and 260x260 on 2x scaling like on a HiDPI device. In both cases the avatar is requested as cropped and that way displayed at 96x96, making it look blurry.
This can be solved by requesting scaled avatars rather than cropped where appropriate, and cropping to the requested size afterwards.
HiDPI can be simulated in Qt by setting QT_SCALE_FACTOR=2.
[1] https://spec.matrix.org/v1.3/client-server-api/#thumbnails
3 years ago
Nicolas Werner
1145610694
Fix timestamps after loading
3 years ago
Nicolas Werner
dc4a06517c
Add an option to define new power levels
3 years ago
Nicolas Werner
c25aeac4ca
Fix linting
3 years ago
Nicolas Werner
5772447874
Require matrix v1.1 or greater
3 years ago
Nicolas Werner
6e97f3da06
Refresh last message when paginating backwards
3 years ago
Nicolas Werner
dc4fbd167e
Fix linting
3 years ago
brausepulver
09c646d3fa
Add copy link to room context menu ( #1101 )
3 years ago
Jason Volk
a7ee6e96ba
Fix multiple weak symbols from private object destructor (-Wstringop-overflow).
3 years ago
Nicolas Werner
ead10cd0fd
Request full online keybackup when turning it on
3 years ago
Nicolas Werner
35ff02ce48
Remove a few more headers
3 years ago
Nicolas Werner
07228d336a
Support the knock_restricted rule
3 years ago
Nicolas Werner
b57152a1c9
Skip migration if sender_key is not a string or present
3 years ago
Nicolas Werner
8cdfbf9391
Get rid of 'using json = nlohmann::json'
3 years ago
Nicolas Werner
b0c353c550
Remove remaining groups code
3 years ago
Nicolas Werner
ef941920ea
Fix compilation without implicit nlohmann conversions
3 years ago
Nicolas Werner
28acea55e2
Remove redundant alias function
3 years ago
Nicolas Werner
beb59d5d2e
Simplify includes a bit
3 years ago
Nicolas Werner
f8e6c9c53c
Speedup provider compilation
3 years ago
Nicolas Werner
81d4285580
Fix settings groups not being terminated properly on logout
...
fixes #1094
3 years ago
Nicolas Werner
9e14218bc6
Fix failed uploads not removing uploads
...
fixes #1098
3 years ago
Nicolas Werner
3eafd4396e
Fix pins not refreshing after being loaded
3 years ago
Nicolas Werner
bcc6c518be
Fix edits not updating in replies
3 years ago
Nicolas Werner
ef9ebe3fd3
Speedup startup by caching last message timestamp
...
The cache is only approximate, i.e. it doesn't skip edits and similar,
but this might be good enough? Also no migration right now.
Speeds up startup by about 5x on my system.
Half the startup time is now loading the powerlevels for each room. We
can probably lazily load those too in the future.
3 years ago
SyldraTheCat
8a6acd1d86
Subtle corrections to paste behaviors
3 years ago
Nicolas Werner
6e1fec1e63
Update hidden read receipts MSC
3 years ago
Nicolas Werner
9b2a98b595
Fix C++20 compatibility
3 years ago
Nicolas Werner
bd9946bff9
Fix height attribute for emotes
3 years ago
Nicolas Werner
f3ff56692e
Fix crash on logout (why did that line vanish?!?)
3 years ago
Nicolas Werner
62b3b461ec
Fix comparison for glare algorithm
3 years ago
Nicolas Werner
00740a7e65
Properly handle glare when verifying
3 years ago
Nicolas Werner
9649c20fc6
Add some logging to dock
3 years ago
d42
0e02024084
Unread messages count as an Unity compatible badge ( #1085 )
...
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
3 years ago
Nicolas Werner
c742e545d2
Fix unnecessary detatch in for loop
3 years ago
Nicolas Werner
6c6d43691d
Add basic powerlevel editor
3 years ago
Nicolas Werner
ac5e3fe3e8
Send images on enter if input bar is empty
3 years ago
Nicolas Werner
c792fd28b1
Fix unsigned wraparound when creating one time keys
3 years ago
Nicolas Werner
28ff6fa484
Fix bad format string
3 years ago
Nicolas Werner
d2561b0512
Use newer libolm
3 years ago
Nicolas Werner
a2d3990f90
Fix stopping the fallback removal timer starter
3 years ago
Nicolas Werner
0a65019242
Add support for fallback keys
3 years ago
Nicolas Werner
908f62159a
Properly mark image node as dirty on size update
3 years ago
Nicolas Werner
90da39313f
Use right linter
3 years ago
Nicolas Werner
a6b2be112b
More image dialog fixes
3 years ago
Nicolas Werner
8f6ed458a6
Add mtxclient to logging
3 years ago
Nicolas Werner
a0f722f2a4
Fix header order...
3 years ago
Nicolas Werner
9910244f6b
Fix potential crash when opening separate rooms
3 years ago
Nicolas Werner
87070289fd
Activate window that already has the room open if possible
3 years ago