element-hq / element-hq/element-meta

Can't use ico or webp for avatars

未关闭
#2,087 13 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
A-Avatar A-Media O-Uncommon S-Minor T-Defect
主要语言
没有语言数据
星标
112
派生
25
平均合并
6 小时 6 分钟
30 天内合并 PR
4

描述

[![bounty](https://api.bountysource.com/badge/issue?issue_id=43754045)](https://www.bountysource.com/issues/43754045-can-t-use-ico-for-room-avatar)

### Description

When using an *.ico file, like [this one](http://vps1.t2l.io/Martz90-Hex-Warning.ico), Riot tries the upload, considers it successful, and update the local avatar to match the new file. Once the settings pane is dismissed, the icon reverts to whatever it was before.

### Steps to reproduce

- Change room avatar to *.ico file

I would have expected Riot to tell me it was an unsupported file type, or the icon change to work.

Log: not sent

After uploading image:
![image](https://cloud.githubusercontent.com/assets/1190097/24631932/8548f44e-187f-11e7-9f2e-67f36a874f88.png)

After closing settings pane:
![image](https://cloud.githubusercontent.com/assets/1190097/24631941/8ef70170-187f-11e7-8f9d-995c9fbcf6a3.png)

### Version information

- **Platform**: web (in-browser)
- **Browser**: Chrome 56
- **OS**: Windows 10
- **URL**: riot.im/develop

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。