mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-27 00:31:55 -06:00
fixed dummy user id
Signed-off-by: Aleksandr Dubovikov <d.lexand@gmail.com>
This commit is contained in:
parent
6c8158b313
commit
625bc3d02d
|
@ -303,10 +303,7 @@ func downloadAndStoreImage(
|
||||||
|
|
||||||
var width, height int
|
var width, height int
|
||||||
|
|
||||||
userid := types.MatrixUserID("user")
|
userid := types.MatrixUserID(dev.UserID)
|
||||||
if dev != nil {
|
|
||||||
userid = types.MatrixUserID(dev.UserID)
|
|
||||||
}
|
|
||||||
|
|
||||||
reqReader := req.Body.(io.Reader)
|
reqReader := req.Body.(io.Reader)
|
||||||
if cfg.MaxFileSizeBytes > 0 {
|
if cfg.MaxFileSizeBytes > 0 {
|
||||||
|
|
Loading…
Reference in a new issue