element-hq / element-hq/element-meta

Can't use ico or webp for avatars

Open
#2,087 13 comments 0 reactions 0 assignees View on GitHub
A-Avatar A-Media O-Uncommon S-Minor T-Defect
Dominant language
No language data
Stars
112
Forks
25
Avg merge
6h 6m
Merged PRs (30d)
4

Description

[![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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.