From ece37472c18b0164d18d621be89820bd16215a46 Mon Sep 17 00:00:00 2001 From: Annie Elequin Date: Thu, 16 Sep 2021 18:28:56 -0400 Subject: [PATCH] try groupmeid --- formatting.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/formatting.go b/formatting.go index 464f726..dbbf23c 100644 --- a/formatting.go +++ b/formatting.go @@ -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) }