More UI tweaks (calls).

1. Localize video call messages.
2. Display call message previews correctly.
This commit is contained in:
aforge
2022-04-21 21:10:00 -07:00
parent ad98bec73e
commit 0daef53c87
5 changed files with 33 additions and 7 deletions
+5
View File
@@ -204,3 +204,8 @@ export function cancelablePromise(promise) {
},
};
};
// Returns true if specified mime type represents a Tinode video call.
export function isVideoCall(mime) {
return mime == 'application/tinode-video-call';
}