mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-11-22 22:18:39 +01:00
Update s.d.o username from mdosch-guest to mdosch.
This commit is contained in:
parent
5c629fe1cd
commit
8c4ec690a5
3 changed files with 6 additions and 5 deletions
|
@ -26,8 +26,8 @@ If you have *[GOPATH](https://github.com/golang/go/wiki/SettingGOPATH)*
|
||||||
set just run this commands:
|
set just run this commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ go get salsa.debian.org/mdosch-guest/feed-to-muc
|
$ go get salsa.debian.org/mdosch/feed-to-muc
|
||||||
$ go install salsa.debian.org/mdosch-guest/feed-to-muc
|
$ go install salsa.debian.org/mdosch/feed-to-muc
|
||||||
```
|
```
|
||||||
|
|
||||||
You will find the binary in `$GOPATH/bin` or, if set, `$GOBIN`.
|
You will find the binary in `$GOPATH/bin` or, if set, `$GOBIN`.
|
||||||
|
@ -70,3 +70,4 @@ the bot.
|
||||||
If you don't want additional noise in the MUC you can set `Quiet`
|
If you don't want additional noise in the MUC you can set `Quiet`
|
||||||
to disable bot queries (e.g. *contact*) in the MUC (queries per
|
to disable bot queries (e.g. *contact*) in the MUC (queries per
|
||||||
private message are still available).
|
private message are still available).
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module salsa.debian.org/mdosch-guest/feed-to-muc
|
module salsa.debian.org/mdosch/feed-to-muc
|
||||||
|
|
||||||
go 1.14
|
go 1.14
|
||||||
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -302,7 +302,7 @@ func processStanzas(client *xmpp.Client, muc string, mucNick string, feeds []str
|
||||||
case "source":
|
case "source":
|
||||||
|
|
||||||
reply := "My source can be found at " +
|
reply := "My source can be found at " +
|
||||||
"https://salsa.debian.org/mdosch-guest/feed-to-muc"
|
"https://salsa.debian.org/mdosch/feed-to-muc"
|
||||||
|
|
||||||
if v.Type == "groupchat" {
|
if v.Type == "groupchat" {
|
||||||
_, err = client.Send(xmpp.Chat{Remote: muc,
|
_, err = client.Send(xmpp.Chat{Remote: muc,
|
||||||
|
|
Loading…
Reference in a new issue