Merge pull request #3072 from pangeachat/no-self-start-conversation
Remove option to start conversation to self
This commit is contained in:
commit
1de5a921a7
1 changed files with 14 additions and 13 deletions
|
|
@ -90,20 +90,21 @@ void showMemberActionsPopupMenu({
|
|||
),
|
||||
const PopupMenuDivider(),
|
||||
// #Pangea
|
||||
PopupMenuItem(
|
||||
value: _MemberActions.chat,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.forum_outlined),
|
||||
const SizedBox(width: 18),
|
||||
Text(
|
||||
dmRoomId == null
|
||||
? L10n.of(context).startConversation
|
||||
: L10n.of(context).sendAMessage,
|
||||
),
|
||||
],
|
||||
if (user.room.client.userID != user.id)
|
||||
PopupMenuItem(
|
||||
value: _MemberActions.chat,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.forum_outlined),
|
||||
const SizedBox(width: 18),
|
||||
Text(
|
||||
dmRoomId == null
|
||||
? L10n.of(context).startConversation
|
||||
: L10n.of(context).sendAMessage,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
// Pangea#
|
||||
if (onMention != null)
|
||||
PopupMenuItem(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue