try groupmeid
This commit is contained in:
parent
436c3a620e
commit
ece37472c1
@ -55,9 +55,9 @@ func NewFormatter(bridge *Bridge) *Formatter {
|
||||
if mxid[0] == '@' {
|
||||
puppet := bridge.GetPuppetByMXID(id.UserID(mxid))
|
||||
if puppet != nil {
|
||||
jids, ok := ctx[mentionedJIDsContextKey].([]groupme.JID)
|
||||
jids, ok := ctx[mentionedJIDsContextKey].([]types.GroupMeID)
|
||||
if !ok {
|
||||
ctx[mentionedJIDsContextKey] = []groupme.JID{puppet.JID}
|
||||
ctx[mentionedJIDsContextKey] = []types.GroupMeID{puppet.JID}
|
||||
} else {
|
||||
ctx[mentionedJIDsContextKey] = append(jids, puppet.JID)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user