Commit 7302ce5c authored by Wilko Manger's avatar Wilko Manger

Simplify member change messages

parent 20053a7e
Pipeline #409 passed with stages
in 4 minutes and 35 seconds
A new version is available on F-droid!
Changes include:
- Implement direct chats correctly!
- Use user user avatar as chat avatar if direct
- Hide user name in direct chat
- Use names of room members if no room name is set
(whether the chat is direct or not)
- Add border to left of replied-to messages to easily
differentiate them
- Show redaction events!
- Use icons instead of letters if chat has no avatar
- Use different icons for direct chats than group chats
(and in the future public chats)
- Use user color for direct chats if the user has no avatar
- Simplify member change messages ('Pat has joined' -> 'Pat joined', etc)
- Tweak font sizes (thanks to [Mathieu Velten](https://matrix.to/#/@mat:tout.im))!
- Change date header style (smaller and full caps)
![Preview image](https://git.pattle.im/pattle/app/raw/v0.5.0/CHANGELOG/0.5.0.png)
To install this release, add the following repo in F-droid:
https://fdroid.pattle.im/?fingerprint=E91F63CA6AE04F8E7EA53E52242EAF8779559209B8A342F152F9E7265E3EA729
And install 'Pattle'.
......@@ -72,22 +72,22 @@ class Strings {
// Member change events
List<TextSpan> hasJoined(TextSpan name)
=> [name, TextSpan(text: ' has joined')];
=> [name, TextSpan(text: ' joined')];
List<TextSpan> hasLeft(TextSpan name)
=> [name, TextSpan(text: ' has left')];
=> [name, TextSpan(text: ' left')];
List<TextSpan> hasBeenBanned(TextSpan banee, TextSpan banner)
=> [
banee,
TextSpan(text: ' has been banned by '),
TextSpan(text: ' was banned by '),
banner
];
List<TextSpan> hasBeenInvited(TextSpan invitee, TextSpan inviter)
=> [
invitee,
TextSpan(text: ' has been invited by '),
TextSpan(text: ' was invited by '),
inviter
];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment