format code
This commit is contained in:
1 parent
e026e777f6
commit
a7a49f7441
5 files changed
+21
-27
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user