mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 16:21: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
|
||||
|
||||
userid := types.MatrixUserID("user")
|
||||
if dev != nil {
|
||||
userid = types.MatrixUserID(dev.UserID)
|
||||
}
|
||||
userid := types.MatrixUserID(dev.UserID)
|
||||
|
||||
reqReader := req.Body.(io.Reader)
|
||||
if cfg.MaxFileSizeBytes > 0 {
|
||||
|
|
Loading…
Reference in a new issue