mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 18:52:11 +00:00
Completed cloudinaryv2 fix
This commit is contained in:
@@ -81,8 +81,10 @@ App.cable.subscriptions.create({
|
||||
acceptButton.style.display = "block"
|
||||
|
||||
triggerCalleeModalEvent()
|
||||
const photo = document.getElementById('caller-photo');
|
||||
document.getElementById('caller-name').innerHTML = data["message"]["caller_info"]
|
||||
document.getElementById('caller-photo').src = data["message"]["caller_photo"]
|
||||
photo.src = data["message"]["caller_photo"];
|
||||
photo.style.objectFit = "cover";
|
||||
|
||||
chatRoomId = data["message"]["chat_room_id"]
|
||||
console.log(`user with id: ${userId} needs to subscribe to chatroom ${[chatRoomId]}`)
|
||||
|
||||
Reference in New Issue
Block a user