mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-05 13:12:44 +00:00
fix: Share invite link of rooms
This commit is contained in:
parent
e68306c8b3
commit
46a12d5225
3 changed files with 10 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
- fix: Render tg-forward html tags (Krille)
|
||||
- fix: Use HapticFeedback.selectionClick() for long press on message (Krille)
|
||||
- fix: whitespaces sometimes encoded in html message (Krille)
|
||||
- fix: Share invite links of public rooms (Krille)
|
||||
|
||||
## v1.17.2
|
||||
Another minor bugfix release which also implements private read receipts.
|
||||
|
|
|
@ -2184,6 +2184,12 @@
|
|||
"user": {}
|
||||
}
|
||||
},
|
||||
"youInvitedToBy": "📩 You have been invited via link to:\n{alias}",
|
||||
"@youInvitedToBy": {
|
||||
"placeholders": {
|
||||
"alias": {}
|
||||
}
|
||||
},
|
||||
"youInvitedBy": "📩 You have been invited by {user}",
|
||||
"@youInvitedBy": {
|
||||
"placeholders": {
|
||||
|
|
|
@ -62,7 +62,9 @@ class ChatDetailsView extends StatelessWidget {
|
|||
tooltip: L10n.of(context)!.share,
|
||||
icon: Icon(Icons.adaptive.share_outlined),
|
||||
onPressed: () => FluffyShare.share(
|
||||
AppConfig.inviteLinkPrefix + room.canonicalAlias,
|
||||
L10n.of(context)!.youInvitedToBy(
|
||||
AppConfig.inviteLinkPrefix + room.canonicalAlias,
|
||||
),
|
||||
context,
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue