forked from Nexus/nexus
add m.location support
Needs cross-platform testing. Currently only tested on Android.
This commit is contained in:
parent
979068fc3a
commit
3a8d977f11
1 changed files with 810 additions and 12 deletions
|
|
@ -173,7 +173,9 @@ extension BuildEventOptions on Event {
|
|||
),
|
||||
),
|
||||
|
||||
if (content is MessageContent && sender == userId)
|
||||
if (content is MessageContent &&
|
||||
content is! LocationMessageContent &&
|
||||
sender == userId)
|
||||
PopupMenuItem(
|
||||
onTap: () => onRelation(rowId, .edit),
|
||||
child: const ListTile(leading: Icon(Icons.edit), title: Text("Edit")),
|
||||
|
|
|
|||
Loading…
Reference in a new issue