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
|
|
@ -350,6 +350,16 @@ final class const RoomChat({
|
|||
repliedEventRowId,
|
||||
)
|
||||
.onError(showError),
|
||||
onSendLocation:
|
||||
(location, {required shouldMention}) =>
|
||||
notifier
|
||||
.sendLocation(
|
||||
location,
|
||||
shouldMention: shouldMention,
|
||||
repliedEventRowId:
|
||||
repliedEventRowId,
|
||||
)
|
||||
.onError(showError),
|
||||
relationType: relationType.value,
|
||||
relatedEvent: relatedEvent.value,
|
||||
onDismiss: () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue