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: Render tg-forward html tags (Krille)
|
||||||
- fix: Use HapticFeedback.selectionClick() for long press on message (Krille)
|
- fix: Use HapticFeedback.selectionClick() for long press on message (Krille)
|
||||||
- fix: whitespaces sometimes encoded in html message (Krille)
|
- fix: whitespaces sometimes encoded in html message (Krille)
|
||||||
|
- fix: Share invite links of public rooms (Krille)
|
||||||
|
|
||||||
## v1.17.2
|
## v1.17.2
|
||||||
Another minor bugfix release which also implements private read receipts.
|
Another minor bugfix release which also implements private read receipts.
|
||||||
|
|
|
||||||
|
|
@ -2184,6 +2184,12 @@
|
||||||
"user": {}
|
"user": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"youInvitedToBy": "📩 You have been invited via link to:\n{alias}",
|
||||||
|
"@youInvitedToBy": {
|
||||||
|
"placeholders": {
|
||||||
|
"alias": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
"youInvitedBy": "📩 You have been invited by {user}",
|
"youInvitedBy": "📩 You have been invited by {user}",
|
||||||
"@youInvitedBy": {
|
"@youInvitedBy": {
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,9 @@ class ChatDetailsView extends StatelessWidget {
|
||||||
tooltip: L10n.of(context)!.share,
|
tooltip: L10n.of(context)!.share,
|
||||||
icon: Icon(Icons.adaptive.share_outlined),
|
icon: Icon(Icons.adaptive.share_outlined),
|
||||||
onPressed: () => FluffyShare.share(
|
onPressed: () => FluffyShare.share(
|
||||||
AppConfig.inviteLinkPrefix + room.canonicalAlias,
|
L10n.of(context)!.youInvitedToBy(
|
||||||
|
AppConfig.inviteLinkPrefix + room.canonicalAlias,
|
||||||
|
),
|
||||||
context,
|
context,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue