format code

This commit is contained in:
Sunglocto committed 2026-02-16 09:54:37 +00:00
1 parent e026e777f6
commit a7a49f7441
5 files changed
+21 -27

No files matched your search

+1 -1
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)