Skip to content

Commit

Permalink
dddd
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-ava committed Nov 12, 2023
1 parent b18fced commit fc211e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class Discuss extends Contactable {
async sendMsg(content: Sendable): Promise<MessageRet> {
const { rich, brief } = await this._preprocess(content)
const body = pb.encode({
1: { 4: { 1: this.gid } },
1: { 2: { 1: this.gid } },
2: PB_CONTENT,
3: { 1: rich },
4: randomBytes(2).readUInt16BE(),
Expand Down
2 changes: 1 addition & 1 deletion lib/message/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class Image {
}
} else {
proto = {
2: this.md5.toString("hex") + ".gif",
2: this.md5.toString("hex") + ".jpg",
7: this._fid,
8: 0,
9: 0,
Expand Down

0 comments on commit fc211e9

Please sign in to comment.