mirror of
https://github.com/matrix-org/dendrite
synced 2025-04-30 07:04:09 +02:00
fixed dummy user id
Signed-off-by: Aleksandr Dubovikov <d.lexand@gmail.com>
This commit is contained in:
parent
6c8158b313
commit
625bc3d02d
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue