diff --git a/cmd/wp-matrix/config.go b/cmd/wp-matrix/config.go index 431ffb7..d2c9c72 100644 --- a/cmd/wp-matrix/config.go +++ b/cmd/wp-matrix/config.go @@ -15,7 +15,7 @@ import ( const defaultTemplate = ` Status: **{{ .Pipeline.Status }}**
Build: [{{ .Repository.Slug }}]({{ .Pipeline.URL }}){{ if .Curr.Branch }} ({{ .Curr.Branch }}){{ end }} by {{ .Curr.Author.Name }}
-Message: {{ .Curr.Message }}{{ if .Curr.URL }} ([source]({{ .Curr.URL }})){{ end }} +Message: {{ .Curr.Title }}{{ if .Curr.URL }} ([source]({{ .Curr.URL }})){{ end }} ` // settingsFlags has the cli.Flags for the plugin.Settings. diff --git a/go.mod b/go.mod index cdad76c..0f02717 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/microcosm-cc/bluemonday v1.0.25 github.com/rs/zerolog v1.30.0 github.com/russross/blackfriday/v2 v2.1.0 - github.com/thegeeklab/wp-plugin-go v1.0.0 + github.com/thegeeklab/wp-plugin-go v1.0.1 github.com/urfave/cli/v2 v2.25.7 maunium.net/go/mautrix v0.16.0 ) diff --git a/go.sum b/go.sum index 8fd9b51..8f2502a 100644 --- a/go.sum +++ b/go.sum @@ -60,6 +60,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/thegeeklab/wp-plugin-go v1.0.0 h1:PSrP7gp1TqApegv34u3YSK2PHF+D7Vfodl95bRba33M= github.com/thegeeklab/wp-plugin-go v1.0.0/go.mod h1:y0k5zaKWjdGbgkaOHhEPFEL6p+yOLOjqHy0LWOrv0MM= +github.com/thegeeklab/wp-plugin-go v1.0.1 h1:n0z+UVghSfTyOpwo75aAdV0EPhLbIr2DqIEqiXHKOAU= +github.com/thegeeklab/wp-plugin-go v1.0.1/go.mod h1:y0k5zaKWjdGbgkaOHhEPFEL6p+yOLOjqHy0LWOrv0MM= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.16.0 h1:SyXa+dsSPpUlcwEDuKuEBJEz5vzTvOea+9rjyYodQFg= github.com/tidwall/gjson v1.16.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=