Commit graph

19 commits

Author SHA1 Message Date
fiaxh c77d80d7b5 Fix avatars not changing to greyscale when contact goes offline 2021-08-17 22:32:33 +02:00
Marvin W f6943a4c82
Fix avatar display in private group chats 2020-09-14 22:04:05 +02:00
Marvin W 928802332c
Make compatible with older vala compilers 2020-09-12 17:51:13 +02:00
Marvin W a22146fd72
Display placeholder avatar while loading 2020-09-12 12:54:37 +02:00
Marvin W c16fbdd19f
Clean up some image rendering code 2020-06-28 11:53:43 +02:00
fiaxh 50c55c7f55 Fetch avatars only when they are used 2020-06-10 19:53:56 +02:00
fiaxh af52c24df7 Fix nick change in MUC, update bookmark accordingly; remove unused code 2020-04-26 00:20:27 +02:00
fiaxh ed6eda129e Update live whether encryption is possible in MUC (lock icon visible) 2020-03-08 22:21:09 +01:00
Marvin W e330e60f83
Base avatars and names on conversation, not JID.
Fixes #598
2019-10-18 16:52:29 +02:00
hrxi d5d305193c Fix some warnings
Instances of `RegexError` are just asserted as `assert_not_reached` as
they cannot really fail except for allocation failure if the given regex
is valid.
2019-09-10 19:36:11 +02:00
Marvin W e3d994db1a
Handle ill-prepared avatar image 2019-07-09 15:25:41 +02:00
fiaxh 8aab18c1ec Add hover effect on conversation content 2019-06-01 19:03:01 +02:00
fiaxh b6799e59bb Remove avatars with missmatch between supposed and actual sha1 hash on load, make loading async 2019-04-24 23:44:00 +02:00
Daniel Gultsch d8e0ab406c display groups w/o name by list of members
For members-only, non-anonymous groups that do not have a name set we now
show an automatically generated name that is generated from the list of members
(offline, and online). Only the first name (before the first space) is used
to keep the generated name short.

The term *private room* is coined as a short hand for members only&non-anon group
chats.

This commit also uses the offline members list instead of the online member list
to generate avatar tiles (also only in members-only, non-anon groups.)
2018-12-28 13:42:58 +01:00
fiaxh d9cbf571b0 Fix muc avatars sometimes not showing split tiles for occupants 2018-11-25 16:00:20 +01:00
Marvin W ea7efd6399 Render avatar to image surface 2018-09-01 13:24:02 +02:00
fiaxh a19f988301 Support MUC avatars 2018-07-31 17:49:10 +02:00
fiaxh 81310dff2e Handle multiple chat state notifications per bare jid
fixes #117
2018-03-10 20:01:22 +01:00
Marvin W ca331e85ef Render avatar on demand 2018-01-28 00:38:47 +01:00