some more debugging going on

This commit is contained in:
talksik
2022-06-19 10:45:54 -05:00
parent 1d250c4e51
commit 4fda5d97c4
@@ -503,6 +503,8 @@ function Room({
// globally updating conversation so that other views can render what they want
toast.success('got stream from remote, going to add to our ');
console.log('got stream from master');
setConversationMap((draft) => {
if (draft[conversation._id.toString()].room[otherUserId]) {
draft[conversation._id.toString()].room[otherUserId].stream = remoteStream;
@@ -592,6 +594,8 @@ function Room({
// globally updating conversation so that other views can render what they want
toast.success('got stream from remote, going to add to our ');
console.log('got stream from newbie');
setConversationMap((draft) => {
if (draft[conversation._id.toString()].room[res.userWhoCalled]) {
draft[conversation._id.toString()].room[res.userWhoCalled].stream = remoteStream;