mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix at.
This commit is contained in:
parent
133151bd29
commit
46d4a5d8a1
@ -247,7 +247,7 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
|
||||
Attr6Buf: binary.NewWriterF(func(w *binary.Writer) {
|
||||
w.WriteUInt16(1)
|
||||
w.WriteUInt16(0)
|
||||
w.WriteUInt16(uint16(len(e.Display)))
|
||||
w.WriteUInt16(uint16(len([]rune(e.Display))))
|
||||
w.WriteByte(func() byte {
|
||||
if e.Target == 0 {
|
||||
return 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user