Working audio bubble.

Also, fixes #2.
This commit is contained in:
Black Hat
2018-08-17 15:58:08 +08:00
parent 055ef7e8c3
commit 6e79bf6495
6 changed files with 52 additions and 27 deletions

View File

@@ -519,6 +519,8 @@ QVariant MessageEventModel::data(const QModelIndex& idx, int role) const {
return "notice";
case MessageEventType::Image:
return "image";
case MessageEventType::Audio:
return "audio";
default:
return e->hasFileContent() ? "file" : "message";
}