diff --git a/src/Cache.cpp b/src/Cache.cpp
index 3ef3ca070c291c5f8b3d0eaea19ef9f8de2b028a..fb2ded7d556c641981de287b56fd9e4283a2b09a 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -1423,7 +1423,8 @@ Cache::getRoomAvatarUrl(lmdb::txn &txn,
                         StateEvent<Avatar> msg =
                           json::parse(std::string(event.data(), event.size()));
 
-                        return QString::fromStdString(msg.content.url);
+                        if (!msg.content.url.empty())
+                                return QString::fromStdString(msg.content.url);
                 } catch (const json::exception &e) {
                         nhlog::db()->warn("failed to parse m.room.avatar event: {}", e.what());
                 }
diff --git a/src/RoomInfoListItem.cpp b/src/RoomInfoListItem.cpp
index cc5f5776f4ed89b1a018eec6c4e51900127cb4b3..11818649bd94c91c303edc0407ce5c50513574c9 100644
--- a/src/RoomInfoListItem.cpp
+++ b/src/RoomInfoListItem.cpp
@@ -419,7 +419,10 @@ RoomInfoListItem::mousePressEvent(QMouseEvent *event)
 void
 RoomInfoListItem::setAvatar(const QString &avatar_url)
 {
-        avatar_->setImage(avatar_url);
+        if (avatar_url.isEmpty())
+                avatar_->setLetter(utils::firstChar(roomName_));
+        else
+                avatar_->setImage(avatar_url);
 }
 
 void
diff --git a/src/RoomList.cpp b/src/RoomList.cpp
index 1c7c340d73b8a3f4bb6d6fdcd0d402b50f15a2e3..764fabb43c20bce294bb396be05abb7ccbf5de28 100644
--- a/src/RoomList.cpp
+++ b/src/RoomList.cpp
@@ -94,9 +94,6 @@ RoomList::addRoom(const QString &room_id, const RoomInfo &info)
 void
 RoomList::updateAvatar(const QString &room_id, const QString &url)
 {
-        if (url.isEmpty())
-                return;
-
         emit updateRoomAvatarCb(room_id, url);
 }