Update Qlyra to 1.0.13 with messaging, media and plugin improvements
Build Android (FCM) / build-android-fcm (push) Canceled after 0s
Build Android / build-android (push) Canceled after 0s
Build iOS / build-ios (push) Canceled after 0s
Build Linux / build-linux (push) Canceled after 0s
Build macOS / build-macos (push) Canceled after 0s
Build Windows / build-windows (push) Canceled after 0s
Native crypto / native-crypto (push) Canceled after 0s
Release (main) / android (oneme) (push) Canceled after 0s
Release (main) / android (qlyra) (push) Canceled after 0s
Release (main) / windows (push) Canceled after 0s
Release (main) / linux (push) Canceled after 0s
Release (main) / macos (push) Canceled after 0s
Release (main) / ios (push) Canceled after 0s
Release (main) / release (push) Canceled after 0s

This commit is contained in:
sevenhill
2026-09-10 17:55:55 +03:00
parent 50816588e4
commit b22654b99f
4976 changed files with 18539 additions and 15865 deletions
+3 -6
View File
@@ -5,8 +5,8 @@ import 'package:share_plus/share_plus.dart';
import '../../backend/modules/chats.dart';
import '../../backend/modules/links.dart';
import '../../core/cache/info_cache.dart';
import '../../core/links/max_link.dart';
import '../../core/links/profile_link.dart';
import '../../core/storage/app_database.dart';
import '../../core/utils/share_origin.dart';
import '../../main.dart';
@@ -115,13 +115,10 @@ Future<int?> _botIdOf(ResolvedLink? resolved) async {
}
Future<bool> _shareOwnLink(BuildContext context) async {
final myId = await currentAccountId();
if (myId == 0) return false;
final info = await ContactInfoFetch.get(myId);
final link = await ownProfileLink();
if (!context.mounted) return true;
final link = (info?.raw['link'] as String?)?.trim();
if (link == null || link.isEmpty) {
if (link == null) {
showCustomNotification(context, 'У профиля нет публичной ссылки');
return true;
}