Add handling for group metadata changes and refactor things
Group metadata temporarily broken until power level bridging is implemented
This commit is contained in:
@ -78,7 +78,7 @@ func (user *User) newWhatsAppFormatMaps() (map[*regexp.Regexp]string, map[*regex
|
||||
return fmt.Sprintf("<code>%s</code>", str)
|
||||
},
|
||||
mentionRegex: func(str string) string {
|
||||
jid := str[1:] + whatsapp_ext.NewUserSuffix
|
||||
jid := str[1:] + whatsappExt.NewUserSuffix
|
||||
puppet := user.GetPuppetByJID(jid)
|
||||
return fmt.Sprintf(`<a href="https://matrix.to/#/%s">%s</a>`, puppet.MXID, puppet.Displayname)
|
||||
},
|
||||
|
Reference in New Issue
Block a user