Explorar o código

Fix bridging small stickers

Tulir Asokan %!s(int64=2) %!d(string=hai) anos
pai
achega
2d64b0bae6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      portal.go

+ 2 - 0
portal.go

@@ -544,6 +544,8 @@ func (portal *Portal) handleDiscordFile(typeName string, intent *appservice.Inte
 			content.Info.Height = DiscordStickerSize
 		}
 		evtType = event.EventSticker
+	} else if typeName == "sticker" {
+		evtType = event.EventSticker
 	}
 
 	resp, err := portal.sendMatrixMessage(intent, evtType, content, nil, ts.UnixMilli())