mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-12-22 21:05:25 +01:00
Added comments.
This commit is contained in:
parent
6e8ac0866c
commit
e9a83d723f
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,7 @@ func processStanzas(client *xmpp.Client, muc string, mucNick string, feeds []str
|
|||
log.Fatal("Error: Failed sending message to ", v.Remote, ": ", err)
|
||||
}
|
||||
}
|
||||
|
||||
// Reply with pong to ping requests.
|
||||
case "ping":
|
||||
|
||||
reply := "pong"
|
||||
|
@ -142,6 +142,7 @@ func processStanzas(client *xmpp.Client, muc string, mucNick string, feeds []str
|
|||
}
|
||||
}
|
||||
|
||||
// Reply with contact address if set.
|
||||
case "contact":
|
||||
|
||||
if contact == "" {
|
||||
|
|
Loading…
Reference in a new issue