mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-06-02 19:19:11 +02:00
Add extra note to live location placeholders
This commit is contained in:
parent
223f43cf64
commit
8c8b617588
|
@ -3105,6 +3105,7 @@ func (portal *Portal) convertLiveLocationMessage(ctx context.Context, intent *ap
|
||||||
if len(msg.GetCaption()) > 0 {
|
if len(msg.GetCaption()) > 0 {
|
||||||
content.Body += ": " + msg.GetCaption()
|
content.Body += ": " + msg.GetCaption()
|
||||||
}
|
}
|
||||||
|
content.Body += "\n\nUse the WhatsApp app to see the location."
|
||||||
return &ConvertedMessage{
|
return &ConvertedMessage{
|
||||||
Intent: intent,
|
Intent: intent,
|
||||||
Type: event.EventMessage,
|
Type: event.EventMessage,
|
||||||
|
|
Loading…
Reference in a new issue