diff --git a/app/lib/methods/subscriptions/room.ts b/app/lib/methods/subscriptions/room.ts index d38a84644c..7810258dbc 100644 --- a/app/lib/methods/subscriptions/room.ts +++ b/app/lib/methods/subscriptions/room.ts @@ -74,6 +74,7 @@ export default class RoomSubscription { unsubscribe = async () => { console.log(`[RCRN] Unsubscribing from room ${this.rid}`); + readMessages(this.rid, new Date(), true).catch(e => console.log(e)); this.isAlive = false; reduxStore.dispatch(unsubscribeRoom(this.rid)); if (this.promises) {