Browse Source

Guggy: use query sentence as m.image .body

pull/70/merge
Luke Barnard 8 years ago
parent
commit
26814a5a53
  1. 2
      src/github.com/matrix-org/go-neb/services/guggy/guggy.go

2
src/github.com/matrix-org/go-neb/services/guggy/guggy.go

@ -73,7 +73,7 @@ func (s *guggyService) cmdGuggy(client *matrix.Client, roomID, userID string, ar
return matrix.ImageMessage{ return matrix.ImageMessage{
MsgType: "m.image", MsgType: "m.image",
Body: gifResult.ReqID,
Body: querySentence,
URL: mxc, URL: mxc,
Info: matrix.ImageInfo{ Info: matrix.ImageInfo{
Height: uint(math.Floor(gifResult.Height)), Height: uint(math.Floor(gifResult.Height)),

Loading…
Cancel
Save