format code

This commit is contained in:
2026-02-16 09:54:37 +00:00
parent e026e777f6
commit a7a49f7441
5 changed files with 21 additions and 27 deletions

View File

@@ -50,7 +50,7 @@ func joinMuc(c xmpp.Sender, jid string, muc string, nick string) error {
// jid MustParse but using gosrc's instead of mellium
// This function will panic if its an invalid JID
func JidMustParse(s string) (*stanza.Jid) {
func JidMustParse(s string) *stanza.Jid {
j, err := stanza.NewJid(s)
if err != nil {
panic(err)