|
|
|
@ -46,6 +46,7 @@ import '../../widgets/matrix.dart';
|
|
|
|
import 'package:fluffychat/utils/tor_stub.dart'
|
|
|
|
import 'package:fluffychat/utils/tor_stub.dart'
|
|
|
|
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
|
|
|
|
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum PopupMenuAction {
|
|
|
|
enum PopupMenuAction {
|
|
|
|
settings,
|
|
|
|
settings,
|
|
|
|
invite,
|
|
|
|
invite,
|
|
|
|
@ -923,7 +924,7 @@ class ChatListController extends State<ChatList>
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
// #Pangea
|
|
|
|
// #Pangea
|
|
|
|
if (room.isRoomAdmin)
|
|
|
|
if (room.isRoomAdmin && !room.isDirectChat)
|
|
|
|
PopupMenuItem(
|
|
|
|
PopupMenuItem(
|
|
|
|
value: ChatContextAction.delete,
|
|
|
|
value: ChatContextAction.delete,
|
|
|
|
child: Row(
|
|
|
|
child: Row(
|
|
|
|
|