1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

fix: method missing

This commit is contained in:
Mrs4s 2021-11-09 03:25:42 +08:00
parent c48c5bca49
commit 190c494409
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -85,6 +85,10 @@ func (e *FriendImageElement) Type() ElementType {
return Image return Image
} }
func (e *GuildImageElement) Type() ElementType {
return Image
}
func (e *GroupImageElement) Pack() (r []*msg.Elem) { func (e *GroupImageElement) Pack() (r []*msg.Elem) {
cface := &msg.CustomFace{ cface := &msg.CustomFace{
FileType: proto.Int32(66), FileType: proto.Int32(66),