Merge branch 'matrixfile-fix-path' into 'master'

[MatrixFile] Path always lower case

See merge request famedly/famedlysdk!107
This commit is contained in:
Christian Pauly 2019-10-23 18:14:04 +00:00
commit 4f3e88611f

View file

@ -2,6 +2,6 @@ class MatrixFile {
List<int> bytes;
String path;
MatrixFile({this.bytes, this.path});
MatrixFile({this.bytes, String path}) : this.path = path.toLowerCase();
int get size => bytes.length;
}