remove some occurences of mellium jid lib and try to add experimental affiliation displays
This commit is contained in:
@@ -46,3 +46,14 @@ func joinMuc(c xmpp.Sender, jid string, muc string, nick string) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// jid MustParse but using gosrc's instead of mellium
|
||||
// This function will panic if its an invalid JID
|
||||
|
||||
func JidMustParse(s string) (*stanza.Jid) {
|
||||
j, err := stanza.NewJid(s)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return j
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user