[FIX] Discussions not subscribing properly to messages when opened from inside the room (#3149)
* [FIX] Promise at subscription Room * E2E - Update previous roomView count after send msg in discussion * Not needed rn Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
c10bd5fd93
commit
0bbeb42271
|
@ -159,7 +159,7 @@ export default class RoomSubscription {
|
||||||
updateMessage = message => (
|
updateMessage = message => (
|
||||||
new Promise(async(resolve) => {
|
new Promise(async(resolve) => {
|
||||||
if (this.rid !== message.rid) {
|
if (this.rid !== message.rid) {
|
||||||
return;
|
return resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
const db = database.active;
|
const db = database.active;
|
||||||
|
|
Loading…
Reference in New Issue