瀏覽代碼

Restore previous behavior for secure mode

tags/0.10
9seconds 8 年之前
父節點
當前提交
94c2f3c215
共有 1 個檔案被更改,包括 0 行新增4 行删除
  1. 0
    4
      wrappers/mtproto_intermediate.go

+ 0
- 4
wrappers/mtproto_intermediate.go 查看文件

62
 		return nil, errors.Annotate(err, "Cannot read the message")
62
 		return nil, errors.Annotate(err, "Cannot read the message")
63
 	}
63
 	}
64
 
64
 
65
-	if length%4 != 0 {
66
-		length -= length % 4
67
-	}
68
-
69
 	return buf.Bytes()[:length], nil
65
 	return buf.Bytes()[:length], nil
70
 }
66
 }
71
 
67
 

Loading…
取消
儲存